HUSO
Gold Elite
The provided script allows players on an ESX-based FiveM server to operate a functional fire hose.
Key Features
- Job Restriction: Both client and server-side checks ensure only players with the fireman job can activate the hose.
- Water Source Detection: The script automatically detects water sources within a 5-meter radius.
- Hydrants: It identifies specific map props, including prop_fire_hydrant_1, prop_fire_hydrant_2, and prop_fire_hydrant_4.
- Vehicles: It recognizes standard fire trucks (model firetruk) as valid water sources.
- Interactive Control: Players use the E key to toggle the hose when a source is nearby.
- Visual Effects:
- Hose Nozzle: A prop (prop_hose_nozzle) is created and attached to the player's hand.
- Water Jet: A synchronized particle effect (water_cannon_jet) is triggered to simulate high-pressure water.
- Hose Nozzle: A prop (prop_hose_nozzle) is created and attached to the player's hand.
- Automatic Safety: The hose stops immediately if the player moves too far from the source or changes their job.
DOWNLOAD: