mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

on(Client)ElementModelChange doesn't triggered when vehicle variant is changed

Open Xenius97 opened this issue 3 years ago • 4 comments

Describe the bug on(Client)ElementModelChange doesn't triggered when vehicle variant is changed Only triggers streamIn & streamOut

To reproduce

addEventHandler("onClientElementModelChange", root, function(oldModel, newModel)
	iprint(source, oldModel, newModel)
end)

Expected behaviour Should be triggered

Version Multi Theft Auto v1.5.9-release-21135

Xenius97 avatar Mar 31 '22 09:03 Xenius97

Please provide a full reproduction resource if possible, which satisfies all cases for the purpose of testing (stream in/out, changing vehicle variant, etc).

Lpsd avatar Mar 31 '22 10:03 Lpsd

@Lpsd https://mega.nz/file/BY4z1BwL#FHTmjjueSVwShbFdrsbEl3JSrw89K-rTs9mnhU4hd-E

Xenius97 avatar Mar 31 '22 10:03 Xenius97

Thanks - also just incase you aren't aware, you can upload files directly to GitHub by either dragging into the reply box or clicking the "attach files by dragging [...]" ribbon at the bottom of the reply box.

Lpsd avatar Mar 31 '22 11:03 Lpsd

variant_test.zip I'm using megasync always, sorry :D

Xenius97 avatar Mar 31 '22 12:03 Xenius97