GetVehicleParamsEx = -1
#1

Had this "bug" since always, when using GetVehicleParamsEx all the params are -1 by default.
So if your engine is off, it doesn't say 0 or false, it says -1 which is incorrect.

It is so annoying i can't use it normally, i should be able to do this;

Код:
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);

if(!engine) SendClientMessage(playerid, 0x123456FF, "Your engine is off!");
Now, because the value is actually -1 it doesn't say my engine is off, i can't make a proper engine system like this.
Everything should be 0 by default, not -1.
Reply


Messages In This Thread
GetVehicleParamsEx = -1 - by WackoX - 20.07.2012, 00:22
Re: GetVehicleParamsEx = -1 - by SuperViper - 20.07.2012, 00:26
AW: GetVehicleParamsEx = -1 - by NetKiel - 20.07.2012, 00:31
Re: AW: GetVehicleParamsEx = -1 - by WackoX - 20.07.2012, 00:34
Re: GetVehicleParamsEx = -1 - by SuperViper - 20.07.2012, 03:00
Re: GetVehicleParamsEx = -1 - by Kar - 20.07.2012, 14:26

Forum Jump:


Users browsing this thread: 1 Guest(s)