Team help - 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: Team help (
/showthread.php?tid=605330)
Team help -
SaiyanZ - 17.04.2016
[B]Hello, I use gTeam to make teams and to increase damage Onplayertakedamage, ifweaponid == 8 one, if a teammate hit there teammate they lose health also, like i setted deagle damage to 30, if a player hits his teammate with deagle then his team mate also loses 30 health, anyway to fix it?
Re: Team help -
CalvinC - 17.04.2016
You can just use SetPlayerTeam and then they cant damage eachother.
Re: Team help -
SaiyanZ - 18.04.2016
Can you please give an example? like adding SetPlayerTeam in any way?
Re: Team help -
Saliim - 18.04.2016
you have to settle the damage as you want, wiki samp and super explain there are many tutorials like the one
https://sampforum.blast.hk/showthread.php?tid=462189
Re: Team help -
SaiyanZ - 18.04.2016
Thanks Alot.
+Rep
Re: Team help -
Saliim - 18.04.2016
thanks at you bro