Skip to content

Installation

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

Installation steps

1
Download the resources
Download both prp-pressurewash and prp-pressurewash-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-pressurewash-assets
ensure prp-pressurewash
3
Add items
Add the required items to your inventory resource — see Items below.
4
Configure
Open config/sh_config.lua to configure salary, group size, tank durations and depot location.
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/items.lua.

lua
-- Generator (deployable)
["pressurewash"] = {
    label = "Pressure Wash Generator",
    weight = 5000,
    stack = false
},
-- Refill consumables
["petrolcan"] = {
    label = "Petrol Can",
    weight = 1000,
    stack = false,
},
["watercanister"] = {
    label = "Water Canister",
    weight = 1000,
    stack = false,
},

Equipment shop

Players buy the generator, pressure washer, petrol cans and water canisters from the depot NPC shop in-game. Make sure the items exist in your inventory before adding them to the shop.

Weapons

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

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

lua
-- Pressure washer gun (weapon)
['WEAPON_PRESSUREWASHER'] = {
    label = 'Pressure Washer',
    weight = 3000,
    durability = 0.0,
},