Anti teamkill - 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: Anti teamkill (
/showthread.php?tid=197819)
Anti teamkill -
knackworst - 10.12.2010
I know there are alot of this topics, and out of other topics I found out that team 1and team 2cannot kill themselves with setplayerteam
but what if I want team 1 not to be able to kill their own team but also not kill 2?
Re: Anti teamkill -
Zh3r0 - 10.12.2010
SetPlayerTeam has immune system for co-mates.
Re: Anti teamkill -
knackworst - 10.12.2010
Quote:
Originally Posted by Zh3r0
SetPlayerTeam has immune system for co-mates.
|
oh, well so is there a way to do this with another function?
Re: Anti teamkill -
Zh3r0 - 10.12.2010
Quote:
Originally Posted by knackworst
oh, well so is there a way to do this with another function?
|
Well using IsPlayerShootingAt or something like this, and some variables where the player's team id is stored.
It has already been released.
Re: Anti teamkill -
knackworst - 10.12.2010
Quote:
Originally Posted by Zh3r0
Well using IsPlayerShootingAt or something like this, and some variables where the player's team id is stored.
It has already been released.
|
Is there a function released?