Help me with anti team kill
#1

Hello, I'm trying to use a anti team kill script on my server. It's not working. It crashed and slow the server and i can't do nothing. What script i must use for anti team kill.

P.S i have edited the timer to 100 but it didn't worked. Also don't say me to use a anti team kill that kills the team killer.
pawn Код:
// top of your gamemode
forward SettingPlayerTeam();
//OnPlayerConnect
SetTimerEx("SettingPlayerTeam",10,1,"d",playerid); // I used 100 but it still crash the server.
//Bottom of your script
public SettingPlayerTeam()
{
  for(new playerid; playerid < 200; playerid++)
    SetPlayerTeam(playerid, gTeam[playerid]);
  return 1;
}
Reply


Messages In This Thread
Help me with anti team kill - by ZamaXor - 21.10.2010, 14:35
Re: Help me with anti team kill - by Badger(new) - 21.10.2010, 14:40

Forum Jump:


Users browsing this thread: 1 Guest(s)