Describe the bug
When using the /car command in any dimension other than 0, the vehicle incorrectly spawns in dimension 0 instead of the player's current dimension. This causes unexpected behavior, especially on servers using multiple dimensions or instances.
To Reproduce
Steps to reproduce the behavior:
Log into the server.
Change to a different dimension (e.g., dimension 1 or higher).
Use the command /car [model].
The vehicle will spawn in dimension 0 instead of the current one.
Expected behavior
The vehicle should spawn in the same dimension as the player who issued the command.
Screenshots
https://streamable.com/pbd13m
Debug Info (please complete the following information):
OS: Windows
FiveM Artifact: 13389
ESX Version: 1.12.4
Additional context
This issue can cause confusion among players and result in "ghost vehicles" in other dimensions. It's recommended to review the routing bucket or instance handling when spawning the vehicle to ensure it matches the player's current dimension.
Describe the bug
When using the /car command in any dimension other than 0, the vehicle incorrectly spawns in dimension 0 instead of the player's current dimension. This causes unexpected behavior, especially on servers using multiple dimensions or instances.
To Reproduce
Steps to reproduce the behavior:
Log into the server.
Change to a different dimension (e.g., dimension 1 or higher).
Use the command /car [model].
The vehicle will spawn in dimension 0 instead of the current one.
Expected behavior
The vehicle should spawn in the same dimension as the player who issued the command.
Screenshots
https://streamable.com/pbd13m
Debug Info (please complete the following information):
OS: Windows
FiveM Artifact: 13389
ESX Version: 1.12.4
Additional context
This issue can cause confusion among players and result in "ghost vehicles" in other dimensions. It's recommended to review the routing bucket or instance handling when spawning the vehicle to ensure it matches the player's current dimension.