SA-MP Forums Archive
Antiteam 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: Antiteam kill (/showthread.php?tid=441399)



Antiteam kill - SamiHam - 02.06.2013

I have GW server and want to make antiteam kill how i do ?
i want like if skin id 28 shooted skin id 32 , skin id 32 will not lose hp because i see this better than gteam use ...


Re: Antiteam kill - Areax - 02.06.2013

Just use
pawn Код:
SetPlayerTeam



Re: Antiteam kill - Chasm - 02.06.2013

Define your teams...

pawn Код:
#define TEAM_GROVE 0
#define TEAM_BALLA 1
Then add
pawn Код:
SetPlayerTeam
Easy, 0 adds him into Grove, groves won't lose health if they are shooting each other,

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


Re: Antiteam kill - SamiHam - 06.06.2013

Not works


Re: Antiteam kill - SamiHam - 06.06.2013

it yes not kill same team but others team cannot kill other teamm too