SA-MP Forums Archive
turning on/off friendly fire [with teams] is possible? - 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: turning on/off friendly fire [with teams] is possible? (/showthread.php?tid=204900)



turning on/off friendly fire [with teams] is possible? - Ex[C]uTivE - 30.12.2010

is so... a quick tip/tutorial [if u made one in the past or something]
thanks


Re: turning on/off friendly fire [with teams] is possible? - Mauzen - 30.12.2010

Use SetPlayerTeam(team). If two players are in the same team, teamdamage is disabled.