28.07.2009, 12:59
Quote:
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; } |
