OnPlayerEnterVehicle
#8

use "DisableVehicleEngine(vehicleid)" wherever you want to turn the engine off
pawn Код:
stock DisableVehicleEngine(vehicleid)
{
    new engine, lights, alarm, doors, bonnet, boot, objective;
    GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
    SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective);
}
Reply


Messages In This Thread
OnPlayerEnterVehicle - by SoFahim - 23.07.2015, 16:42
Re: OnPlayerEnterVehicle - by xVIP3Rx - 23.07.2015, 16:43
Re: OnPlayerEnterVehicle - by SoFahim - 23.07.2015, 16:47
Re: OnPlayerEnterVehicle - by xVIP3Rx - 23.07.2015, 16:49
Re: OnPlayerEnterVehicle - by SoFahim - 23.07.2015, 16:50
Re: OnPlayerEnterVehicle - by xVIP3Rx - 23.07.2015, 16:52
Re: OnPlayerEnterVehicle - by SoFahim - 23.07.2015, 16:57
Re: OnPlayerEnterVehicle - by xVIP3Rx - 23.07.2015, 17:32
Re: OnPlayerEnterVehicle - by SoFahim - 23.07.2015, 18:00
Re: OnPlayerEnterVehicle - by xVIP3Rx - 23.07.2015, 18:06

Forum Jump:


Users browsing this thread: 2 Guest(s)