anti team shoot 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: anti team shoot help (
/showthread.php?tid=239463)
anti team shoot help -
tanush - 13.03.2011
How i make if an team member shoots another team member, both of them wont lose health. please help, using gTeam
Re: anti team shoot help -
blackwave - 13.03.2011
https://sampwiki.blast.hk/wiki/SetPlayerTeam
pawn Код:
SetPlayerTeam(playerid, gTeam[playerid]);
Код:
Note: Players on the same team can not kill each other unless they use a knife.
Re: anti team shoot help -
tanush - 13.03.2011
So my script Should have like
onplayerspawn
pawn Код:
SetPlayerTeam(playerid, 0); // aztec
SetPlayerTeam(playerid, 1); // Grove
and so on?
nvm thanks