Skip to content

Installation

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

Installation steps

1
Download the resource
Download prp-sensor from the CFX portal and place it in your resources folder.
2
Add to server.cfg
Add the resource to your server.cfg after all dependencies.
ensure ox_lib
ensure prp-bridge
ensure prp-sensor
3
Add items
Add the required items to your inventory resource — see Items below.
4
Configure
Open config.lua to configure the weapon, minimum distance and default sensor locations.
5
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_DIGISCANNER"] = {
    label = "Digital Scanner",
    weight = 250
},