04.03.2011, 16:02
Put this in OnPlayerCommandText
and put this after
Quote:
dcmd(copshelp, 2, cmdtext); |
Quote:
dcmd_copshelp(playeri, params[]) { #pragma unused params if(gTeam == TEAM_COPS) { GivePlayerWeapon(playerid, 30); } else { GameTextForPlayer(playerid, "~w~You're not allowed to use this command", 1500, 6); } return 1; } |