For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Dependencies, server.cfg order, and a quick test.

1

Check dependencies

Make sure these are installed and starting before 0r-gps:

  • ox_lib

  • OneSync

  • A framework: es_extended, qb-core, or qbx_core

  • An inventory: ox_inventory, qb-inventory, qs-inventory, tgiann-inventory, or origen_inventory (auto-detected)

2

Add the resource

Drop the folder into your server as 0r-gps.

3

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
4

Register the GPS item

Add the item to your inventory — see Items. The default item name is gps (config/main.luaitem).

5

Test in-game

  1. Give yourself the item: /giveitem gps 1 (command depends on your inventory).

  2. Use the item — the GPS UI should open.

  3. If nothing happens, set setup.debug = 1 in config/main.lua, restart the resource, and read the server console.

Last updated