25.06.2012, 20:05
Nope...
Код:
if (strcmp("/armour", cmdtext, true, 10) == 0) { new Float: Armour; GetPlayerArmour(playerid, Armour); if(Armour < 100) { if(GetPlayerMoney(playerid) >= 200) { SetPlayerArmour(playerid, 100); GivePlayerMoney(playerid, -200); SendClientMessage(playerid,-1, "Your armour is now Full! xD"); return 1; } else return SendClientMessage(playerid, -1," You need more money ,dude..."); } else return SendClientMessage(playerid, -1 , " Your armour is alerty full"); }