30.11.2010, 16:10
If
ManualVehicleEngineAndLights();
is defined in script (e.g. OnGameModeInIt() ) then
GetVehicleParamsEx
for example - engine value always will return value 1 ("" enabled yeah)
Story:
Server started car is not used.. I enter car GetVehicleParamsEx engine returns value 1 (enabled but its not)
So type /engine - now engine is realy off.. now i exit/enter a car returs right value.. so its off now.. I start engine - great - works..
I turn off engine and respawn vehicle...
Testing if now it will return right value.. nope again it returns value 1 (enabled) but its not..
if you understood something fromy my nightmare then you should notice it too..
ManualVehicleEngineAndLights();
is defined in script (e.g. OnGameModeInIt() ) then
GetVehicleParamsEx
for example - engine value always will return value 1 ("" enabled yeah)
Story:
Server started car is not used.. I enter car GetVehicleParamsEx engine returns value 1 (enabled but its not)
So type /engine - now engine is realy off.. now i exit/enter a car returs right value.. so its off now.. I start engine - great - works..
I turn off engine and respawn vehicle...
Testing if now it will return right value.. nope again it returns value 1 (enabled) but its not..
if you understood something fromy my nightmare then you should notice it too..
![Grin](images/smilies/biggrin.gif)