Ant-team kill
#1

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!
Reply
#2

You sure didn't search good enough
The first I found when I searched

http://forum.sa-mp.com/index.php?topic=22945.0
Reply
#3

That just kicks people, I want it fully disabled. SetPlayerTeam failed and is bugged.
Reply
#4

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.
Reply
#5

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 AddPlayerClassEx.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)