Health
#4

pawn Код:
public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ )
{
    if( hittype != BULLET_HIT_TYPE_NONE )
    {
        if( !( -1000.0 <= fX <= 1000.0 ) || !( -1000.0 <= fY <= 1000.0 ) || !( -1000.0 <= fZ <= 1000.0 ) )
        {
            Kicksaporukom(playerid);
            return 0;
        }
    }
    return 1;
}
Reply


Messages In This Thread
Health - by AdelS - 18.09.2014, 16:42
Re: Health - by DaniceMcHarley - 18.09.2014, 16:43
Re: Health - by AdelS - 18.09.2014, 16:45
Re: Health - by Stinged - 18.09.2014, 16:53
Re: Health - by AdelS - 18.09.2014, 16:59

Forum Jump:


Users browsing this thread: 1 Guest(s)