[SOLVED]Anti Teammate Kill
#1

How can I avoid that teammkills are made?
I mean, when you hit a teammate, he doesn't loses health...

Please Help Me xD
Thanks
Reply
#2

Use teams, SetPlayerTeam.
Reply
#3

Quote:
Originally Posted by $ЂЯĢ
Use teams, SetPlayerTeam.
I am using teams... And now, how do I stop team killing?
Reply
#4

Quote:
Originally Posted by Nameless303
Quote:
Originally Posted by $ЂЯĢ
Use teams, SetPlayerTeam.
I am using teams... And now, how do I stop team killing?
use gTeam & SetPlayerTeam on spawn. It can be quite inaccurate though.
Reply
#5

Quote:
Originally Posted by Abernethy♥
Quote:
Originally Posted by Nameless303
Quote:
Originally Posted by $ЂЯĢ
Use teams, SetPlayerTeam.
I am using teams... And now, how do I stop team killing?
use gTeam & SetPlayerTeam on spawn. It can be quite inaccurate though.
But i'm using teams...
And I have a part of the script where I can put something when it is teamkill;
Код:
	if(GetPlayerTeam(killerid) == GetPlayerTeam(playerid))
	{
    //teamkill
	}
What do I have to put on the place of //teamkill?
Reply
#6

Quote:
Originally Posted by Nameless303
Quote:
Originally Posted by Abernethy♥
Quote:
Originally Posted by Nameless303
Quote:
Originally Posted by $ЂЯĢ
Use teams, SetPlayerTeam.
I am using teams... And now, how do I stop team killing?
use gTeam & SetPlayerTeam on spawn. It can be quite inaccurate though.
But i'm using teams...
And I have a part of the script where I can put something when it is teamkill;
Код:
	if(GetPlayerTeam(killerid) == GetPlayerTeam(playerid))
	{
    //teamkill
	}
What do I have to put on the place of //teamkill?
Ive done it, if the player gets killed by a team mate, it saves the position and when you're alive again you automatically to the saved position. (:
Thanks for you're help anyway (:

PS; If someone wants the script, PM me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)