Skip to content

Retro Police

Before installing, make sure you have these resources running on your server:

DependencyRequiredPurpose
ox_libโœ… YesUI components, progress bars, skill checks, context menus
oxmysqlโœ… YesDatabase queries
ox_target or qb-targetโš ๏ธ If using target modeInteraction system (can be replaced with TextUI mode)
ox_inventory or qb-inventoryโœ… YesInventory management, armory shops, personal lockers
pma-voiceโš ๏ธ OptionalRequired only for megaphone system
  1. Download the resource from your Keymaster after purchase.

  2. Extract the rs_police folder into your serverโ€™s resources directory.

  3. Configure the framework in config_framework.lua:

config_framework.lua
return {
Framework = 'AUTO', -- 'ESX', 'QBCore', 'QBX' or 'AUTO'
}
  1. Configure the inventory in config_inventory.lua:
config_inventory.lua
return {
Inventory = 'AUTO', -- 'ox_inventory', 'qb-inventory', 'AUTO', 'CUSTOM'
}
  1. Choose your interaction type in config.lua:
config.lua
Config.InteractionType = "target" -- "target" or "textui"
Config.Target = "ox_target" -- ox_target, qb-target (if using target mode)
Config.TextUI = { -- Settings for TextUI mode
interactionKey = 38, -- E key
interactionDistance = 1.5,
visibleDistance = 4.0,
}
  1. Add to your server.cfg:
server.cfg
ensure ox_lib
ensure oxmysql
ensure ox_target # or qb-target (skip if using TextUI mode)
ensure ox_inventory # or qb-inventory
ensure rs_police
  1. Restart your server. The database tables will be created automatically on first launch.

After installing, configure departments and features in config.lua. See the Configuration page for the full reference.