[BUGS] SetVehicleParamsEx is all -1 -
DVDK - 30.11.2010
When using ManualVehicleEngineAndLights and SetVehicleParamsEx together, all vehicles engine alarm lights etc. are -1 instead of 0.
Re: [BUGS] SetVehicleParamsEx is all -1 -
veyron - 30.11.2010
Код:
#define VEHICLE_PARAMS_UNSET -1
#define VEHICLE_PARAMS_OFF 0
#define VEHICLE_PARAMS_ON 1
Re: [BUGS] SetVehicleParamsEx is all -1 -
DVDK - 30.11.2010
Quote:
Originally Posted by veyron
Код:
#define VEHICLE_PARAMS_UNSET -1
#define VEHICLE_PARAMS_OFF 0
#define VEHICLE_PARAMS_ON 1
|
But that's stupid, if the engine is off it's off, not unset.
Re: [BUGS] SetVehicleParamsEx is all -1 -
Memoryz - 30.11.2010
No, this actually makes sense.
Unset, you have not changed the defaults, you haven't set anything so therefore its unset.
Re: [BUGS] SetVehicleParamsEx is all -1 -
DVDK - 30.11.2010
Quote:
Originally Posted by Memoryz
No, this actually makes sense.
Unset, you have not changed the defaults, you haven't set anything so therefore its unset.
|
So then the money also have to be -1? and the gravity -1 and health -1.
If i get a value i want to know if the engine is on or off, not if it's unset!
Re: [BUGS] SetVehicleParamsEx is all -1 -
Memoryz - 30.11.2010
No, the money & gravity has nothing to do with Vehicle Params now does it?
Re: [BUGS] SetVehicleParamsEx is all -1 -
DVDK - 30.11.2010
Quote:
Originally Posted by Memoryz
No, the money & gravity has nothing to do with Vehicle Params now does it?
|
No, but you say it makes sence because it's not set,
then why doesn't it makes sence to set money health gravity to -1?
Re: [BUGS] SetVehicleParamsEx is all -1 -
Memoryz - 30.11.2010
Because Money is client-sided, all that data is stored on the GTA:SA of the client.
The vehicles component states are now serversided.
God, im reading everything your making a thread about and your just posting about complete garbage that does not make sense.
Re: [BUGS] SetVehicleParamsEx is all -1 -
DVDK - 30.11.2010
Quote:
Originally Posted by Memoryz
Because Money is client-sided, all that data is stored on the GTA:SA of the client.
The vehicles component states are now serversided.
God, im reading everything your making a thread about and your just posting about complete garbage that does not make sense.
|
Your argument is invalid.
Money is just as server/client-sided as vehicle components.
Re: [BUGS] SetVehicleParamsEx is all -1 -
Grim_ - 30.11.2010
His argument is valid. And does it matter what it is returning? You could just edit your script to check for -1 and/or the 0 value.
This forum requires that you wait 120 seconds between posts. Please try again in 17 seconds.