If you teleport a vehicle into a gta v interior with a server-side .pos property while sitting in it, the interior is not loaded. (The getInteriorFromEntity native returns 0.)
If you set the position of the vehicle on the client side with setEntityCoordsNoOffset native, the interior is loaded.
Entitysets are set correctly in all cases.
Reproduction steps
For example:
vehicle.pos = new alt.Vector3(809.4625854492188, -3003.88330078125, -69.6312713623) -> not loaded
[X] By submitting this ticket, I affirm that I have verified the presence of this issue on the latest developer version available at the time of writing this ticket.
Description of the problem
If you teleport a vehicle into a gta v interior with a server-side .pos property while sitting in it, the interior is not loaded. (The getInteriorFromEntity native returns 0.) If you set the position of the vehicle on the client side with setEntityCoordsNoOffset native, the interior is loaded. Entitysets are set correctly in all cases.
Reproduction steps
For example: vehicle.pos = new alt.Vector3(809.4625854492188, -3003.88330078125, -69.6312713623) -> not loaded
Workaround: Server-side: vehicle.pos = new alt.Vector3(809.4625854492188, -3003.88330078125, -69.6312713623) -> not loaded Client-side: game.setEntityCoordsNoOffset(veh.scriptID, 809.4625854492188, -3003.88330078125, -69.631271362, true, true, true); -> loaded
Expected behaviour
-
Additional context
No response
Operating system
Windows 11
Version
alt:V build #16.0.69, branch release
Crashdump ID
No response
Confirmation of issue's presence