Ant-team kill - 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: Ant-team kill (
/showthread.php?tid=71152)
Ant-team kill -
GTA_Rules - 30.03.2009
Hai!
First off, please don't flame me for not searching, I did search.
I couldn't find anything, the only thing I found disabled shooting for the whole server. So I'm wondering if anybody could show me an anti-teamkill script. Or linke me one somewhere.
Thanks!
Re: Ant-team kill -
LarzI - 30.03.2009
You sure didn't search good enough
The first I found when I searched
http://forum.sa-mp.com/index.php?topic=22945.0
Re: Ant-team kill -
GTA_Rules - 30.03.2009
That just kicks people, I want it fully disabled. SetPlayerTeam failed and is bugged.
Re: Ant-team kill -
Norn - 30.03.2009
You cant disable someones health from going down, simply get the player in your team that you killed's pos, world, guns, hp, armor etc. And set it to that when he respawns.
Re: Ant-team kill -
90NINE - 30.03.2009
Here's an example:
http://pastebin.com/m1032e6cf
Basically you need to run that function every time you change someone's team. Your classes should be done with AddPlayerClass
Ex.