Anti-SAMPFUNC???
#3

Quote:
Originally Posted by DaTa[X]
Посмотреть сообщение
pawn Код:
public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ )
{
    if( hittype == BULLET_HIT_TYPE_PLAYER )
    {
        if( !( -20.0 <= fX <= 20.0 ) || !( -20.0 <= fY <= 20.0 ) || !( -20.0 <= fZ <= 20.0 ) )
        {
            // kick or ban the crasher
            return 0;
        }
    }
    return 1;
}
I worked perfect, Thanks.
Reply


Messages In This Thread
Anti-SAMPFUNC??? - by Tantalio - 06.09.2014, 17:40
Re: Anti-SAMPFUNC??? - by DaTa[X] - 06.09.2014, 17:42
Re: Anti-SAMPFUNC??? - by Tantalio - 06.09.2014, 17:56
Re: Anti-SAMPFUNC??? - by IstuntmanI - 06.09.2014, 18:24

Forum Jump:


Users browsing this thread: 1 Guest(s)