Help me please thanks
#2

pawn Код:
//ANTI TEAMKILL
public OnGameModeInit()
{
  SetTimer("UpdateTeams", 1000, 1);
  return 1;
}

forward UpdateTeams();
public  UpdateTeams()
{
  for(new i = 0; i<GetMaxPlayers(); i++)
  {
   if(gTeam[i] == 1) { SetPlayerTeam(playerid, 1); }
   else if(gTeam[i] == 2) { SetPlayerTeam(playerid, 2); }
  }
}
For IP:
https://sampwiki.blast.hk/wiki/GetPlayerIp
Reply


Messages In This Thread
Help me please thanks - by lilstuh - 30.06.2009, 01:04
Re: Help me please thanks - by Grim_ - 30.06.2009, 01:16
Re: Help me please thanks - by Kenny990 - 30.06.2009, 01:19
Re: Help me please thanks - by lilstuh - 01.07.2009, 02:26
Re: Help me please thanks - by Mr_Finnigan - 01.07.2009, 02:29
Re: Help me please thanks - by lilstuh - 01.07.2009, 02:52

Forum Jump:


Users browsing this thread: 5 Guest(s)