10.03.2010, 10:52
Код:
if (strcmp("/buygun", cmdtext, true) == 0) { SendClientMessage(playerid, COLOR_BLUE, "Useage: /buygun <gunid> Check gun ids in /shop"); if (strcmp("/buygun 1", cmdtext, true) == 0) { GivePlayerMoney(playerid, -500); GivePlayerWeapon(playerid, 22, 500); return 1; } return 0; }