Anti Team Kill
#7

Use SetPlayerTeam for your teams
pawn Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(GetPlayerTeam(playerid) == GetPlayerTeam(issuerid))
    {
        GameTextForPlayer(issuerid, "~r~Dont atack your team!", 2000, 6); return 0;    
    }
}
Reply


Messages In This Thread
Anti Team Kill - by Djane - 09.12.2013, 20:56
Re: Anti Team Kill - by Astralis - 09.12.2013, 21:40
Re: Anti Team Kill - by SickAttack - 10.12.2013, 01:32
Re: Anti Team Kill - by Ada32 - 10.12.2013, 05:49
Re: Anti Team Kill - by SickAttack - 10.12.2013, 05:59
Re: Anti Team Kill - by Biesmen - 10.12.2013, 07:40
Re: Anti Team Kill - by Voxel - 10.12.2013, 07:49
Re: Anti Team Kill - by Biesmen - 10.12.2013, 08:12
Re: Anti Team Kill - by Voxel - 10.12.2013, 08:28
Re: Anti Team Kill - by SickAttack - 10.12.2013, 15:35

Forum Jump:


Users browsing this thread: 1 Guest(s)