HOW TO MAKE COMMANDS FOR DIFFERENT CLASSES??
#2

You name is Pawno Master... You should Know how to do it if your the Realll Master!

But, Use gTeam and in your command Check if the player is the right gTeam and if they aren't don't let them use the command.

Example:At the top of a Police command...
pawn Код:
if(gTeam[playerid] == TEAM_COPS)
{
  //Do Stuff Here
}
else
{
  SendClientMessage(playerid,COLOR_RED,"You are not a Cop!");
}
Note: This is a example, So it may not work with your script.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)