28.07.2009, 12:10
Quote:
Originally Posted by kimse007
Quote:
|
Код:
if (strcmp("/buyarmour", cmdtext, true, 10) == 0) { if GetPlayerMoney(playerid) => 1000); SetPlayerArmour(playerid, 100.0); SendClientMessage(playerid, 0xFFFFFFAA, "Armor for you!"); GivePlayerMoney(playerid, -1000); } else { SendClientMessage(playerid, 0xFFFFFFAA, "Poor bastard, Get some money!"); } return 1; }