23.10.2011, 09:48
pawn Код:
if (strcmp("/armor", cmdtext, true, 10) == 0)
{
if(GetPlayerMoney(playerid) < 3000) return SendClientMessage(playerid, COLOR_RED, "You need more money to buy a armour !");
else
{
SetPlayerArmour(playerid, 100);
GivePlayerMoney(playerid,-3000);
}
return 1;
}