Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
Fix code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddieCrew authored Nov 17, 2023
1 parent dc1a977 commit 37a0914
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vending.inc
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@ stock GetVendingMachineRotation(id, &Float:RX, &Float:RY, &Float:RZ) {
return 1;
}
stock GetXYInFrontOfVending(id, &Float:x, &Float:y, Float:distance) {
// Function taken from https://github.com/wuzi/vending (Thanks to wuzi for inspiring me to create this system)!
static Float:a, Float:z;
// Function taken from https://github.com/wuzi/vending (Thanks to wuzi for inspiring me to create this system)!
static Float:a, Float:z;
GetVendingMachineRotation(id, x, y, a);
GetVendingMachinePos(id, x, y, z);

Expand All @@ -347,7 +347,7 @@ stock GetXYInFrontOfVending(id, &Float:x, &Float:y, Float:distance) {

x += (distance * floatsin(-a, degrees));
y += (distance * floatcos(-a, degrees));
return 1;
return 1;
}

stock bool:IsValidVendingMachine(id) {
Expand Down

0 comments on commit 37a0914

Please sign in to comment.