28.07.2009, 13:01
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/minigun", cmdtext, true, 10) == 0) { if(IsPlayerAdmin(playerid)) { GivePlayerWeapon(playerid, 38, 99999); } else { SendClientMessage(playerid, 0xFFFFFFAA, "Sorry you are not allowed to use this"); return 1; }