View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0009701||New Feature Requests||[All Projects] General||public||2017-08-07 23:34||2018-07-08 07:48|
|Summary||0009701: fixVehicle() in onClientVehicleCollision crashes client if vehicle is blown|
fixVehicle() doesn't appear to do a check on whether the vehicle provided is blown/exploded. This can obviously be avoided in Lua by checking with isVehicleBlown() - however it can cause client crashes if not checked.
A solution / better approach would be to check for this and produce a debug output to tell them what's wrong.
Check this topic for all the information you need. https://forum.mtasa.com/topic/98351-unexpected-bug-in-a-script/
|Tags||No tags attached.|
I'm sorry but the suggested solution is just ridiculous because this would make it impossible to repair blown vehicles, which currently works like a charm in any normal situation. You must have hit some edge case... combination of game events and actions taken inside them, which are together causing a crash for some reason.