19.06.2017, 14:08
(
Last edited by NaS; 07/07/2017 at 04:58 PM.
)
Some days ago I found a little bug. At first I was unsure if it was just the Script but then figured it's a SAMP or GTA bug. Noticed it when I was using SelectObject mid-air but unable to select something. Noticed there was an EnEx inside the object later.
While any Interior EnEx (the yellow arrows to enter/leave interiors) is rendered you cannot select Objects using SelectObject.
The markers are only rendered within a specific range (30-40 meters) and when on the screen it prevents Object to be selected. Turning the camera a bit until they aren't visible anymore will let you select an object again.
Obviously doesn't happen when DisableInteriorEnterExits() is used.
Edit: This seems to happen for all objects that are controlled by the engine itself.
Checkpoints, Enex markers, Vehicle target indicators, etc.
While any Interior EnEx (the yellow arrows to enter/leave interiors) is rendered you cannot select Objects using SelectObject.
The markers are only rendered within a specific range (30-40 meters) and when on the screen it prevents Object to be selected. Turning the camera a bit until they aren't visible anymore will let you select an object again.
Obviously doesn't happen when DisableInteriorEnterExits() is used.
Edit: This seems to happen for all objects that are controlled by the engine itself.
Checkpoints, Enex markers, Vehicle target indicators, etc.