player in each specific vehicle
#3

I suggest you to use a stock to directly set engine status, instead of writing that much code everytime.

pawn Код:
stock SetEngineStatus(vehicleid, status)
{
    static engine, lights, alarm, doors, bonnet, boot, objective;

    GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
    return SetVehicleParamsEx(vehicleid, status, lights, alarm, doors, bonnet, boot, objective);
}
pawn Код:
SetEngineStatus(vehicleid, true/false);
And you need also a stock if a vehicle has engine or not.
Reply


Messages In This Thread
player in each specific vehicle - by Mobtiesgangsa - 20.10.2018, 00:03
Re: player in each specific vehicle - by GTLS - 21.10.2018, 09:41
Re: player in each specific vehicle - by KinderClans - 21.10.2018, 10:26
Re: player in each specific vehicle - by kristo - 21.10.2018, 17:46
Re: player in each specific vehicle - by GTLS - 23.10.2018, 14:29
Re: player in each specific vehicle - by Mobtiesgangsa - 23.10.2018, 15:04
Re: player in each specific vehicle - by kristo - 23.10.2018, 21:29
Re: player in each specific vehicle - by sammp - 24.10.2018, 00:44

Forum Jump:


Users browsing this thread: 1 Guest(s)