SA-MP Forums Archive
How to make a player unkillable by his team? - 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 make a player unkillable by his team? (/showthread.php?tid=412480)



How to make a player unkillable by his team? - Hernando - 02.02.2013

So.. I am trying to edit my anti-teamkill so that it doesn't use OnPlayerShootPlayer because that doesn't work 100% accurately. I want to know how I would make someone invincible from the same team, but able to be killed by the other team?


Re: How to make a player unkillable by his team? - [ABK]Antonio - 02.02.2013

https://sampwiki.blast.hk/wiki/SetPlayerTeam


Re: How to make a player unkillable by his team? - Hernando - 02.02.2013

Thanks Antonio. I was clueless, thanks!