forward OnPlayerWeaponShot( .... );
#8

pawn Код:
public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ )
{
    switch( hittype )
    {
        case BULLET_HIT_TYPE_VEHICLE:
        {
            SetVehicleHealth(hidit, 10);
        }
    }
    return 1;
}
Is this possible with vehicle like that?
Reply


Messages In This Thread
forward OnPlayerWeaponShot( .... ); - by Kyance - 16.01.2014, 16:13
Re: forward OnPlayerWeaponShot( .... ); - by Vince - 16.01.2014, 16:15
Re: forward OnPlayerWeaponShot( .... ); - by Kyance - 16.01.2014, 16:39
Re: forward OnPlayerWeaponShot( .... ); - by IstuntmanI - 16.01.2014, 16:43
Re: forward OnPlayerWeaponShot( .... ); - by Kyance - 16.01.2014, 16:45
Re: forward OnPlayerWeaponShot( .... ); - by IstuntmanI - 16.01.2014, 16:48
Re: forward OnPlayerWeaponShot( .... ); - by Kyance - 16.01.2014, 16:51
Re: forward OnPlayerWeaponShot( .... ); - by MA_proking - 16.01.2014, 17:15
Re: forward OnPlayerWeaponShot( .... ); - by iZN - 16.01.2014, 17:17
Re: forward OnPlayerWeaponShot( .... ); - by Stepashka - 16.01.2014, 17:17

Forum Jump:


Users browsing this thread: 2 Guest(s)