-
-
Notifications
You must be signed in to change notification settings - Fork 501
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
If you use engineReplaceModel() to model ID while you are on a vehicle with the same model ID, you will be warped out the vehicle.
To reproduce
Get inside a Perennial (404)
Run this resource
--clientside
function onStart()
local txd,dff
txd = engineLoadTXD("vehiculos/fiatuno.txd", 404)
engineImportTXD(txd, 404)
dff = engineLoadDFF("vehiculos/fiatuno.dff", 404)
engineReplaceModel(dff, 404)
end
addEventHandler("onClientResourceStart", resourceRoot, onStart)Expected behaviour
The vehicle shouldn't kick you out
Version
Clientside: Windows 10 - v1.5.7-release-20462
Serverside: Windows 10 - v1.5.7-release-20462
Additional context
This also happens when using engineRestoreModel()
l33t
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working