Quote:
Originally Posted by _❼_
Quote:
Originally Posted by Carlton
pawn Код:
else { SendFormattedMessage(playerid, RED,".::[ERROR]: You Do Not Have Enough Cash TO Refuel Your Vehicle!.", properCash); }
You can't have a else statement without a if statement
|
Lol yes you can
Probably what is giving you that error, is this:
pawn Код:
new properCash = 0 - randomCash;
|
No you can't. Also
pawn Код:
new properCash = 0 - randomCash;
is not the problem, that's a perfect math code. If I did this:
pawn Код:
public OnPlayerSpawn(playerid) {
GivePlayerMoney(playerid, 10101010);
else {
print("No")
}
return 1;
}
It wouldn't work because I have no if statement.