21.10.2010, 14:35
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.
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;
}

