Only 1 Team_PM
#2

At The top of the script
pawn Код:
new TeamPM;
OnGameModeInit
pawn Код:
TeamPM = 0;
Where you assign the team
pawn Код:
if(TeamPM == 0)
{
  TeamPM = 1;
  //ASSIGN THE TEAM HERE.
}
else
{
  SendClientMessage(playerid,Color,"Theres already somebody on that team.");
}
Thats how I would do it.
There is proberly a better way but oh well.
Reply


Messages In This Thread
Only 1 Team_PM - by Kyle - 05.05.2009, 17:42
Re: Only 1 Team_PM - by miokie - 05.05.2009, 17:47
Re: Only 1 Team_PM - by Kyle - 05.05.2009, 17:48
Re: Only 1 Team_PM - by miokie - 05.05.2009, 18:05

Forum Jump:


Users browsing this thread: 1 Guest(s)