Posts: 4
Threads: 3
Joined: Nov 2018
Reputation:
0
Hi, how can I do an anti kill team system? give me the code and the steps of how to put it please I am new to this
Posts: 210
Threads: 68
Joined: Aug 2018
Reputation:
0
Just set their team on same number : SetPlayerTeam(playerid, TEAMNUMBER);
for exp : red team : SetPlayerTeam(playerid, 1);
and blue team : SetPlayerTeam(playerid, 2);
players with same team cant give damage to their teammates! "AUTO ANTI KILL"
-> use setplayerteam on team selection
Sorry for my bad english +rep please if i helped you !
Posts: 4
Threads: 3
Joined: Nov 2018
Reputation:
0
Thank you very much, how I rate you is that I am new
Posts: 497
Threads: 21
Joined: Feb 2018
Reputation:
0
Better if you learn how to use SetSpawnInfo, it's more useful as it doesn't just set the player's team but their skin spawn coordinates and weapons too.