View Issue Details

IDProjectCategoryView StatusLast Update
0003396Multi Theft Auto : San AndreasScriptingpublic2008-06-09 10:10
Reportererorr404Assigned ToJax 
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version1.0 
Summary0003396: fixVehicle(), possibly other functions, reset time to 00:00

Using this function to fix a vehicle resets the time to 00:00 instead of fixing the vehicle. In my experience this happens 50% of the time, the other 50% it works correctly.

Additional Information

A couple of DP2 users said they have experienced this when connected to their local server through, and they were sure that this was the cause.

The function call that caused this was to setVehicleWheelStates() for one of the users.

They also talked about bugs associated with objects when connected to their local server:

<Off-Roader23> and objects change themselves like if they did get destroy next time you make one to the local host its an old object
<Off-Roader23> 99% of the time with time changing to 0 and objects not dissapearing it is
<MrHankey> right offroader when i tested my clusterbombscript sometimes the clusters where little garbagetons^^ the object i used for the main bomb xD
<Off-Roader23> i had problems with it and my ramp script
<Off-Roader23> objects attached to cars would randomly turn into ramps instead of whatever they were

TagsNo tags attached.


related to 0003813 closedccw Serverside fixVehicle is unreliable for localhost 



2008-03-26 02:56

administrator   ~~0007539

Sounds like a client<->server netcode mismatch, weird about the 50% part though


2008-03-26 02:57

administrator   ~~0007540

Sounds like a client<->server netcode mismatch, weird about the 50% part though


2008-03-26 17:25

developer   ~~0007544

Would I even be able to join the server if there was a mismatch?


2008-03-29 04:24

developer   ~~0007556

Last edited: 2008-03-29 07:18

Another note: setTime() and fixVehicle() give a 'Access denied to nil.' message when they work.

edit: nevermind that, that's probably a conflict with another script.


2008-05-20 16:27

administrator   ~~0007745

This is still here, and it's annoying. It's not a netcode mismatch, it has often happened for me while always using the same version of client and server locally. fixVehicle() will occasionally reset the time to midnight, and not repair the vehicle in that case either.


2008-05-31 13:56

administrator   ~~0007829

I got this with setPickupType.


2008-06-09 10:10

administrator   ~~0007866

Re-open if u get it from the next build onwards

Issue History

Date Modified Username Field Change