How do I get coordinates of specific object in FiveM? I’m trying to create a script for shop robbery and the first step would be actually getting the position of the cash register. I’m fairly new to scripting so just trying to learn as much as I can.
Basically what I’m trying to do is make it so when I press tab (when it shows eye) it has an option to rob the cash register.
Either use PolyZone, or define the coordinates in whatever “target” script you have; as for actual coordinates, you’ll need to find and use some kind of debug or dev menu - there’s plenty online, find one you like most.