[Order] Anti Team Kill
#1

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
Reply
#2

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 !
Reply
#3

Thank you very much, how I rate you is that I am new
Reply
#4

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.
Reply
#5

Quote:
Originally Posted by RahomGamer
Посмотреть сообщение
Thank you very much, how I rate you is that I am new
under my photo and username click on that star! (reputation)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)