01.11.2010, 12:48
or you could do ![Cheesy](images/smilies/biggrin.png)
![Cheesy](images/smilies/biggrin.png)
Код:
if (strcmp("/buyarmour", cmdtext, true, 10) == 0) { if(GetPlayerMoney(playerid) <= 5000)// set how much cash they need { SendClientMessage(playerid, Color, "Armour Bought For 5000$"); GivePlayerMoney(playerid, -5000) SetPlayerArmour(playerid, 100); } else { SendClientMessage(playerid, Color, "You Dont Have 5000$"); } return 1; }