Posts: 431
Threads: 102
Joined: Jan 2012
Reputation:
0
hey Guys.
==> My server is hosted so i want anti-team kill. Like if some player kill his own member than he will get warning and 3 warn=kick... Pleazzzzzzzzzz
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
If you use SetPlayerTeam there is a native anti-team kill.
Posts: 431
Threads: 102
Joined: Jan 2012
Reputation:
0
I didn't understand. Can u clear it?? Please...
Posts: 658
Threads: 8
Joined: Feb 2012
Reputation:
0
hey omar just punt this line where u add teams: SetPlayerTeam(playerid, 0);
this will help u and u can change the numeric for different teams. this is anti team kill system.
Posts: 431
Threads: 102
Joined: Jan 2012
Reputation:
0
i adde setplayerteam at onplayer spawn?? So thats it??
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
Not OnPlayerSpawn put it OnPlayerRequestClass
check the classid (the skinid) Ex. i have the CJ Skin which is Groove Street Leader
When player have CJ Skin use SetPlayerTeam
that is example only
Posts: 431
Threads: 102
Joined: Jan 2012
Reputation:
0
I have four classes. So i need to add 4 different setplayer team??