SA-MP Forums Archive
How To Disable Anti 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)
+--- Thread: How To Disable Anti Team Kill (/showthread.php?tid=327275)



How To Disable Anti Team Kill - HerronInd - 20.03.2012

Hi all.
how can i remove anti team killing(player of same team can damage each other).

Thanks In Advance


Re: How To Disable Anti Team Kill - Jochemd - 20.03.2012

SetPlayerTeam will make players of the same team invulnerable to each other so just set everyone to team 0 (or don't set team at all) to make them able to kill each other.


Re: How To Disable Anti Team Kill - GNGification - 20.03.2012

I think you can do that with gTeams


Re: How To Disable Anti Team Kill - MP2 - 21.03.2012

Quote:
Originally Posted by GNGification
Посмотреть сообщение
I think you can do that with gTeams
Please don't post if you don't have a clue what you're talking about. gTeam is not a native system, it's a common global variable name which is pretty irrelevant to the OP's question.

As for disabling anti-teamkill, you just need to set them all to different teams (SetPlayerTeam(playerid, playerid) or never set them at all.