mtasa-blue
mtasa-blue copied to clipboard
Camera Interior Bug
Describe the bug
Hi,
I’ve noticed an issue where getElementInterior(getCamera()) and getElementInterior(localPlayer) do not return the same value, even when the camera is targeting the player. The camera's interior does not automatically update when the player's interior changes.
I believe this might be a bug, as it would be expected for the camera's interior to sync with the player’s interior when the camera is directed at the player.
Steps to reproduce
- Change the interior of the local player using setElementInterior(localPlayer, newInterior).
- Get the camera’s interior using getElementInterior(getCamera()).
- The camera’s interior is not updated automatically to match the player’s interior.
Version
Client: Multi Theft Auto v1.6-release-23095
Additional context
No response
Relevant log output
Security Policy
- [x] I have read and understood the Security Policy and this issue is not security related.