SA-MP Forums Archive
Looking for an Anti Team Kill Script - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Looking for an Anti Team Kill Script (/showthread.php?tid=199783)



Looking for an Anti Team Kill Script - Bolt3D08 - 16.12.2010

Hey there, Sorry to waste your time but I need a bit of help as I am dumb as fu*k

Ok first I have looked on Wiki - Scripting Tutorials - Filter Scripts and Includes and Searched as well but can't find nothing,

I have like Anti Spawn kill [So players have 30 seconds of god when they spawn to get away from the spawn]

But my server has Teams and I need an Anti Team Kill script so I don't have to be jailing every one for team kill.

So if anyone knows where one is or someone place I can find then that would be a great help.

Ask anything you want and sorry to keep you.

Thanks for your time and have a nice day.


Re: Looking for an Anti Team Kill Script - Face9000 - 16.12.2010

Код:
public SettingPlayerTeam()
{
  for(new playerid; playerid < 200; playerid++)
  SetPlayerTeam(playerid, gTeam[playerid]);
  return 1;
}
Код:
forward SettingPlayerTeam();
OnPlayerConnect:

Код:
SetTimerEx("SettingPlayerTeam",10,1,"i",playerid);
That's what i use for my gm. (I use gTeam.)


Re: Looking for an Anti Team Kill Script - Mehtab - 16.12.2010

use sniffets


Re: Looking for an Anti Team Kill Script - Bolt3D08 - 16.12.2010

@Logitech90 @Mehtab Thanks very much, I will take a look at both of them,

Have a nice day


Re: Looking for an Anti Team Kill Script - Face9000 - 16.12.2010

Quote:
Originally Posted by Mehtab
Посмотреть сообщение
I LOLLED HARD.