/engine error
#7

And it sets the engine to 0 every time.
pawn Код:
stock SetEngine(vehicleid) {
    new engine,lights,alarm,doors,bonnet,boot,objective;
    if(EngineStatus[vehicleid]) {
        EngineStatus[vehicleid] = 0;
        GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
        SetVehicleParamsEx(vehicleid, 0, lights, alarm, doors, bonnet, boot, objective); //ENGINE = 0
    } else {
        EngineStatus[vehicleid] = 1;
        GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
        SetVehicleParamsEx(vehicleid, 1, lights, alarm, doors, bonnet, boot, objective); //ENGINE = 1
    }
    return 1;
}
This doesn't.
Reply


Messages In This Thread
/engine error - by Horrible - 05.08.2011, 09:27
Re: /engine error - by Toreno - 05.08.2011, 09:32
Re: /engine error - by Horrible - 05.08.2011, 09:40
Re: /engine error - by Kitten - 05.08.2011, 09:43
Re: /engine error - by Horrible - 05.08.2011, 09:44
Re: /engine error - by Toreno - 05.08.2011, 09:52
Re: /engine error - by CaHbKo - 05.08.2011, 10:18

Forum Jump:


Users browsing this thread: 2 Guest(s)