Skip to content

Installation ​

This guide will walk you through installing prp-scanner on your FiveM server.

Installation steps

1
Download the resources
Download both prp-scanner and prp-scanner-assets from the CFX portal and place them in your resources folder.
2
Add to server.cfg
Add both resources to your server.cfg after all dependencies, with the assets resource before the main script.
ensure ox_lib
ensure prp-bridge
ensure prp-scanner-assets
ensure prp-scanner
3
Add items
Add the required items to your inventory resource — see Items below.
4
Optional: inventory icons
Custom inventory icons are included in the installation/inventory icons folder. Copy them to your inventory resource's image directory if you'd like to use them.

Items ​

Add all required items to your inventory resource using the format appropriate for your setup.

Add items listed below to your ox_inventory into data/weapons.lua.

lua
["WEAPON_SCANNER"] = {
    label = "Scanner",
    weight = 250
},