👁️🗨️ bt-target
Info
Since the original is no longer maintained and pull requests are not looked at this will be a maintained fork, feel free to contribute to this one as pull requests and issues will be actively checked.
Credits
- brentN5 - Original Author
- Mojito-Fivem - Contributor and Active Maintainer
- TheeDeer - Contributed Vehicle Bone Support
- Cmoen11 - Contributed ultrawide support
Dependencies
Description
Here a simple target tracking script that tracks where your player is looking at. Coords and models can be used. You can add multiple payphone models for example and when your player looks at it. It activates the UI to trigger an event. Polyzones can be used also. Its uses 0.00 ms (0.16% CPU Time) when idle. This can be used in multiple scripts to help with optimisation. Press ALT to activate. Using RegisterKeyMapping removes the need of checking if key has been pressed in a thread and players can customise the keybind in the ESCAPE menu. You can also create multiple options per target. Read the example to learn how to use it.