PDA

View Full Version : How to make anti team fire ?


barts
14/02/2014, 11:48 AM
I mean when a player shoot player and theya re in the same team to dont kill him him(Anti Team Fire)

CuervO
14/02/2014, 11:53 AM
http://wiki.sa-mp.com/wiki/SetPlayerTeam

Investigate around that function, which disables damage for players on the same team.

barts
15/02/2014, 09:02 AM
Can you explain

Avi Raj
15/02/2014, 09:10 AM
http://forum.sa-mp.com/showthread.php?p=937824
Check if the shooter and target in same team, then send the message like "No teamkilling allowed."

Twizted
15/02/2014, 09:17 AM
http://forum.sa-mp.com/showthread.php?t=278006

Follow this tutorial and modify it to fit your needs.

blackeagle1122
15/02/2014, 09:18 AM
If you set players team they can't kill each other.