Quote:
Originally Posted by XK
Make it:
pawn Код:
if(GetPlayerMoney(playerid) >= 500) { GivePlayerMoney(playerid, -500); } else if(GetPlayerMoney(playerid, < 500) { SendClientMessage(playerid,-1,"you don't have Enough cash to buy this weapon!"); }
and as Misiur said,you are missing to close it,put )
|
Now that confuses me, I want to make this a command for the shotgun.. but make it so if the player doesn't have enough cash I want it to deny it to them.
NVM, I figured it out; thank you <3