mta-add-models
mta-add-models copied to clipboard
Newmodel vehicle door & panel states are lost
Newmodel vehicles mainly lose the following states when the model is changed (happens intentionally clientside with setElementModel & also automatically with engineFreeModel):
- door states
- panel states
This is particularly bad because these are related to visual damage, so it's like they always get repaired.
Above commit adds test command to reproduce: (HERE)
/start newmodels /start unittest_newmodels /maketestveh
After several attempts, a workaround fix doesn't seem possible for this. The issue seems to be within MTA related to sync of door & panel states that gets messed up after model change