Check dependencies#
Make sure these are installed and starting before 0r-gps:
- ox_lib
- OneSync
- A framework:
es_extended,qb-core, orqbx_core - An inventory:
ox_inventory,qb-inventory,qs-inventory,tgiann-inventory, ororigen_inventory(auto-detected)
Add the resource#
Drop the folder into your server as 0r-gps.
Update server.cfg#
ensure ox_lib
# your framework
ensure es_extended # or qb-core / qbx_core
# your inventory
ensure ox_inventory # or qb-inventory, etc.
ensure 0r-gps
Register the GPS item#
Add the item to your inventory — see Items. The default item name is gps (config/main.lua → item).
Test in-game#
- Give yourself the item:
/giveitem gps 1(command depends on your inventory). - Use the item — the GPS UI should open.
- If nothing happens, set
setup.debug = 1inconfig/main.lua, restart the resource, and read the server console.