Prevent damage to teammates
#3

You could simply use SetPlayerTeam() instead.
https://sampwiki.blast.hk/wiki/SetPlayerTeam

Quote:

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.

Reply


Messages In This Thread
Prevent damage to teammates - by xRadical3 - 27.06.2020, 23:45
Re: Prevent damage to teammates - by algorhitmically - 27.06.2020, 23:58
Re: Prevent damage to teammates - by Kwarde - 28.06.2020, 00:03
Re: Prevent damage to teammates - by xRadical3 - 28.06.2020, 09:36

Forum Jump:


Users browsing this thread: 2 Guest(s)