How could i disable Teamkill
#3

Код:
// top of your gamemode
forward SettingPlayerTeam();
//OnPlayerConnect
SetTimerEx("SettingPlayerTeam",10,1,"d",playerid);
//Bottom of your script
public SettingPlayerTeam()
{
  for(new playerid; playerid < 200; playerid++)
    SetPlayerTeam(playerid, gTeam[playerid]);
  return 1;
}
I found this from Seif and ive used it and it always works for me
Reply


Messages In This Thread
How could i disable Teamkill - by will_92 - 20.06.2009, 23:11
Re: How could i disable Teamkill - by Grim_ - 20.06.2009, 23:15
Re: How could i disable Teamkill - by Mr_Finnigan - 20.06.2009, 23:39
Re: How could i disable Teamkill - by Grim_ - 20.06.2009, 23:40
Re: How could i disable Teamkill - by Mr_Finnigan - 20.06.2009, 23:44
Re: How could i disable Teamkill - by will_92 - 20.06.2009, 23:45
Re: How could i disable Teamkill - by Grim_ - 20.06.2009, 23:45
Re: How could i disable Teamkill - by will_92 - 20.06.2009, 23:47
Re: How could i disable Teamkill - by Grim_ - 20.06.2009, 23:50
Re: How could i disable Teamkill - by will_92 - 20.06.2009, 23:50

Forum Jump:


Users browsing this thread: 2 Guest(s)