Retro Police
Requirements
Section titled โRequirementsโBefore installing, make sure you have these resources running on your server:
| Dependency | Required | Purpose |
|---|---|---|
| ox_lib | โ Yes | UI components, progress bars, skill checks, context menus |
| oxmysql | โ Yes | Database queries |
| ox_target or qb-target | โ ๏ธ If using target mode | Interaction system (can be replaced with TextUI mode) |
| ox_inventory or qb-inventory | โ Yes | Inventory management, armory shops, personal lockers |
| pma-voice | โ ๏ธ Optional | Required only for megaphone system |
Installation Steps
Section titled โInstallation Stepsโ-
Download the resource from your Keymaster after purchase.
-
Extract the
rs_policefolder into your serverโsresourcesdirectory. -
Configure the framework in
config_framework.lua:
return { Framework = 'AUTO', -- 'ESX', 'QBCore', 'QBX' or 'AUTO'}- Configure the inventory in
config_inventory.lua:
return { Inventory = 'AUTO', -- 'ox_inventory', 'qb-inventory', 'AUTO', 'CUSTOM'}- Choose your interaction type in
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,}- Add to your
server.cfg:
ensure ox_libensure oxmysqlensure ox_target # or qb-target (skip if using TextUI mode)ensure ox_inventory # or qb-inventoryensure rs_police- Restart your server. The database tables will be created automatically on first launch.
Post-Installation
Section titled โPost-InstallationโAfter installing, configure departments and features in config.lua. See the Configuration page for the full reference.