01.06.2014, 05:05
If a player's team is the same, they will not take damage from that other player.
Player A = Team 1
Player B = Team 2
Player C = Team 1
Player A cannot harm Player C, but can attack Player B.
Player B can attack both Player A and Player C.
Player C cannot harm Player A, but can attack Player B.
References: SetPlayerTeam
Player A = Team 1
Player B = Team 2
Player C = Team 1
Player A cannot harm Player C, but can attack Player B.
Player B can attack both Player A and Player C.
Player C cannot harm Player A, but can attack Player B.
Quote:
Originally Posted by SA-MP Wiki
Players can not damage/kill players on the same team unless they use a knife to slit their throat. As of SA-MP 0.3x, players are also unable to damage vehicles driven by a player from the same team. This can be enabled with EnableVehicleFriendlyFire.
|
Quote:
Originally Posted by SA-MP Wiki
255 (or NO_TEAM) is the default team to be able to shoot other players, not 0.
|