Howdy,
I'm really not good at SQL so bear with my complete stupidity.
Something is resetting the "last_updated" field for some vehicles (only some, not all, can't figure out a pattern) over restart for some reason. After a restart, I'll find about 40-50 vehicles that have had their "last_updated" field changed to a few minutes after the restart, but they haven't moved or been respawned. This is messing with my pCleanup as it looks at the "last_updated" field to determine whether to delete them or not.
I'm guessing this is maybe my pMain routine? I don't think I have any other routines installed that could be responsible. Can anybody tell me why this routine would be randomly altering non-damaged recently spawned vehicles on my map?
http://pastebin.com/h4qiLwA9
Thanks in advance
I'm really not good at SQL so bear with my complete stupidity.
Something is resetting the "last_updated" field for some vehicles (only some, not all, can't figure out a pattern) over restart for some reason. After a restart, I'll find about 40-50 vehicles that have had their "last_updated" field changed to a few minutes after the restart, but they haven't moved or been respawned. This is messing with my pCleanup as it looks at the "last_updated" field to determine whether to delete them or not.
I'm guessing this is maybe my pMain routine? I don't think I have any other routines installed that could be responsible. Can anybody tell me why this routine would be randomly altering non-damaged recently spawned vehicles on my map?
http://pastebin.com/h4qiLwA9
Thanks in advance