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 the key has been pressed in a thread and players can customise the keybind in the ESCAPE menu.
Examples and extra details can be found on the GitHub read me. This was quickly done and messy so I will improve it soon and also add more options when hovering over the target.
UPDATED (23/02/2021)
If you used this before the update please update your exports to support the new changes
Added support for more options per target.
Added support for PEDS
Updated preview
Read github read me for example to add more options
I am aware of that. Will also be in the update today. I will also add vehicles bones. So you can peak at specific parts of the vehicle. Like when you fuel you can look at the fuel tank of the car etc.
I’ve been trying to work out in this awesome project. just a lil bit problem with event = “binevent” i’m stock here trying to trigger an Event Like Duty bit its not working can you please give me an example how you work out in Even = “” function?