Health Hack
#1

Case Solved
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)