Anti Team Kill?
#10

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
I'm using this include to do the following;

pawn Код:
public OnPlayerShootPlayer(shooter, target, damage)
{
    new Float:CurHealth;
    GetPlayerHealth(target, CurHealth);
    if(gTeam[shooter] == TEAM_POLICE && gTeam[target] == TEAM_POLICE)
    SetPlayerHealth(target, CurHealth+damage);
    return 1;
}
It seems to be doing the job if you ask me.
Yes I have just seen this include in the forum.
I will try everything you gave (or maybe use it all )
Thank you everybody for helping me!
Reply


Messages In This Thread
Anti Team Kill? - by nuriel8833 - 10.12.2010, 09:46
Re: Anti Team Kill? - by Retardedwolf - 10.12.2010, 10:08
Re: Anti Team Kill? - by nuriel8833 - 10.12.2010, 10:13
Re: Anti Team Kill? - by [SU]Balli - 10.12.2010, 13:21
Re: Anti Team Kill? - by nuriel8833 - 10.12.2010, 19:20
Re: Anti Team Kill? - by Vince - 10.12.2010, 19:39
Re: Anti Team Kill? - by Kitten - 10.12.2010, 19:43
Re: Anti Team Kill? - by Scenario - 10.12.2010, 19:50
Re: Anti Team Kill? - by Cypress - 10.12.2010, 20:37
Re: Anti Team Kill? - by nuriel8833 - 11.12.2010, 05:39

Forum Jump:


Users browsing this thread: 4 Guest(s)