28.07.2009, 12:08
Quote:
//buy armour 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; } |
Thanks in advance.