Installing Pressure Washer V2

The package ships as several resources. They must all be started, and the asset streams must start before the script that uses them.

1. Drop the folders in

resources/[toxic]/pressurewashermodels
resources/[toxic]/toxicdetailingvan
resources/[toxic]/pressurewasherv2

2. Add them to server.cfg, in this order

ensure pressurewashermodels
ensure toxicdetailingvan
ensure pressurewasherv2
Order matters. pressurewashermodels carries the WEAPON_PRESSURE1 weapon, the toxic_pressure_washer pump prop and the rope textures. If it starts after pressurewasherv2, the script asks for assets that are not streamed yet.

3. Choose your framework

In pressurewasherv2/config.lua:

  • UseESX = true — plus UseNewESX = true on newer ESX
  • UseQBCORE = true
  • leave all false for standalone

JobNames controls which jobs may use a job pump.

For standalone whitelisting set UseWhitelist = true and fill in Identifiers, or grant the AcePermission ace.

4. Whitelist the weapon

The pressure gun is a weapon, so your anticheat and inventory both have to allow it. See ox_inventory and anticheat — skipping this is the most common reason the gun "does nothing".

5. If you already stream a rope.ytd

Read Rope textures before you start the server. This matters especially if you also run our Fire Hose — both ship a rope.ytd and they will collide.

6. Set your pump locations

Add them under WasherPumpSpawnLocations, each with its own business model. See Pumps and business models.

7. Optional sounds

Drop your own pump.ogg, pickup.ogg, place.ogg and sanding.ogg into html/sounds/ to replace the shipped audio.

Targets

ox_target: UseTarget = true and UseOXTarget = true.
qb-target: UseTarget = true and UseOXTarget = false.
Leave UseTarget = false for plain key prompts.

Can't find what you need? Ask on Discord — response in under 5 hours.