Posts: 337
Threads: 81
Joined: Jan 2014
Reputation:
0
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??
Posts: 498
Threads: 24
Joined: Apr 2013
use SetPlayerTeam(playerid , team id or defined team name);
Posts: 1,794
Threads: 104
Joined: Feb 2012
Reputation:
0
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.
Posts: 498
Threads: 24
Joined: Apr 2013
oooo
on callbacks we should script a lot but
we can do easy way