[Tutorial] How to make simple buy health and buy armour commands.
#7

Quote:
Originally Posted by SuperViper
View Post
pawn Code:
if(GetPlayerMoney(playerid) > 5500)
No, this won't take the player's money. It will check if they have the money.
Indeed with SuperViper, it shall be like this instead:
pawn Code:
if(GetPlayerMoney(playerid) > 5500)
{
     GivePlayerMoney(playerid, -5500);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)