mtasa-blue
mtasa-blue copied to clipboard
Modded vehicles parts are sometimes darken than normal
Describe the bug Sometimes when you replace a vehicle the parts are darken than normal, maybe game or MTA doesn't load txd perfectly. When you're toggle mod for 2-3x times it colors will be normal again. This happens total randomly, we check all models and they are okay, tested downloaded mods which have no problem on other servers. I'm using default engineImportTXD & replaceDFF. Maybe something is broken with engineReplaceDFF, because some times when I set timer to replace it will not have problem. Maybe this problem is because of an another problem, when you replace a default tuneable vehicle game doesn't replaces txd and vehicle will be full white without textures.
Expected behaviour Normal colors / reflection
Screenshots https://i.imgur.com/nIdWMHB.png https://i.imgur.com/JuiJuXN.png
Version Multi Theft Auto v1.5.9-release-21135
Additional context Vehicle used in screenshots: https://mega.nz/file/IExCyATQ#dgnz2tUJcMUBVjhGY3SxNGNbaJHKBXVnJDUI5tGCDPo Script used: https://mega.nz/file/cEAARLwa#ELH4rnaA0dQ-5B1wMp35CxCt90FjdPzjzYQrxR5fHts Just call loadAll() onClientResourceStart
vehbug.zip New test resource, after a few resource restart vehicle will be showing as normal
Memory issue (too much car mods)