open.mp forum
[Pawn] [HELP]Turn off FriendlyFire - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] [HELP]Turn off FriendlyFire (/showthread.php?tid=1471)



[HELP]Turn off FriendlyFire - Necmi07 - 2020-12-30

Hi guys,

I don't want people who are at the same team?cant shoot each other.

Can you help me about that? Thanks.


RE: [HELP]Turn off FriendlyFire - Radical - 2020-12-31

Set the player team to NO_TEAM.

Code:
SetPlayerTeam(playerid, NO_TEAM);



RE: [HELP]Turn off FriendlyFire - Necmi07 - 2021-01-06

(2020-12-31, 11:23 AM)Radical Wrote: Set the player team to NO_TEAM.

Code:
SetPlayerTeam(playerid, NO_TEAM);



Thank you :))