Anti Team Kill?
#4

Seif posted this long ago in useful snippets or something like that and i use it and it works exactly like it is supposed to,your teammates bullets using gTeam does not hurt you.


Код:
// 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;
}
Reply


Messages In This Thread
Anti Team Kill? - by _Vortex - 04.08.2009, 03:55
Re: Anti Team Kill? - by Woet - 04.08.2009, 04:22
Re: Anti Team Kill? - by Abernethy - 04.08.2009, 04:26
Re: Anti Team Kill? - by Mr_Finnigan - 04.08.2009, 04:43
Re: Anti Team Kill? - by _Vortex - 04.08.2009, 05:45
Re: Anti Team Kill? - by [NTX]MikeQ - 06.07.2010, 16:01

Forum Jump:


Users browsing this thread: 1 Guest(s)