How I can Use Anti Team Kill
#1

Hello Can you give me a tutorial or filterscript for Anti Team Kill and thank you
Reply
#2

SetPlayerTeam
Reply
#3

SetPlayerTeam

Same number of team cannot kill each others. Thats all to do.
Reply
#4

Can you give me an example ?
Reply
#5

If you use gTeam to store your team player ids, then all you need to do is add:
Код:
SetPlayerTeam(playerid,gTeam[playerid]);
under OnPlayerSpawn. I prefer OnPlayerSpawn yes.
Reply
#6

pawn Код:
SetPlayerTeam(1,0);//set id 1 to team 0
SetPlayerTeam(2,0);//id 2 in same team as id 1
id's 1 and 2 wont be able to kill eachother because they both in team 0
Reply
#7

Okй thanks i'll use it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)