Health Hack
#2

Try doing
Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
   if ( Shooter != INVALID_PLAYER_ID )
    {
        if ( GetPlayerTeam( Target ) == GetPlayerTeam( Shooter ) ) // check if the victim is from the same team as the shooter.
        {

            SendClientMessage( Shooter, C_ORANGE, "[ANTI-TEAM KILL]: {E10000}Watch your fires!" );
            return 0;
        }
    }
    return 1;
}
Reply


Messages In This Thread
Health Hack - by Raza2013 - 28.03.2014, 14:29
Re: Health Hack - by awsomedude - 28.03.2014, 20:32

Forum Jump:


Users browsing this thread: 1 Guest(s)