Help please! [ SOLVED ] [ HOW TO FIX INSIDE ]
#10

Something like this, building off of your first post example:
pawn Код:
public OnPlayerSpawn(playerid)
{
  if(GetPlayerJobID == 1 && gTeam[playerid] != TEAM_POLICE) // if they're cop job and their team ISN'T police.
  {
   SendClientMessage(playerid, color, "You are not allowed to spawn with the police force while not being a police officer!");
   Kick(playerid);
   return 1;
  }
  return 1;
}
Reply


Messages In This Thread
Help please! [ SOLVED ] [ HOW TO FIX INSIDE ] - by coole210 - 26.06.2009, 23:19
Re: Help please! - by shady91 - 26.06.2009, 23:27
Re: Help please! - by coole210 - 26.06.2009, 23:28
Re: Help please! - by shady91 - 26.06.2009, 23:29
Re: Help please! - by coole210 - 26.06.2009, 23:43
Re: Help please! - by shady91 - 26.06.2009, 23:56
Re: Help please! - by coole210 - 27.06.2009, 00:17
Re: Help please! - by shady91 - 27.06.2009, 00:19
Re: Help please! - by shady91 - 27.06.2009, 00:20
Re: Help please! - by Grim_ - 27.06.2009, 00:22

Forum Jump:


Users browsing this thread: 1 Guest(s)