Same Team Can't Fight
#1

I made call of duty gamemode but i can't make that :
the players on same team can't fight or kill each other on the same team
how can i make it??
Reply
#2

use SetPlayerTeam(playerid , team id or defined team name);
Reply
#3

SetPlayerTeam, check if their team is the same, OnPlayerTakeDamage, if the issuer is in the same team then don't let him take the damage.
Reply
#4

oooo
on callbacks we should script a lot but
we can do easy way

Quote:

SetPlayerTeam

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)