Installation
Overview
ML Water Stations manages placeable liquid containers. Players place tanks, fill them with liquids (water, fuel, oil, chemicals), extract into bottles or jerry cans, and repair damaged tanks. Includes 3D DUI fill indicators, weather-based rain collection, decay mechanics, and fixed station support.
Quick Start
- Download from CFX Portal
- Extract to your
resourcesfolder asml_water_stations - Add to
server.cfg:
server.cfg
1ensure oxmysql
2ensure ox_lib
3ensure ml_bridge
4ensure ml_water_stationsLoad Order
ml_water_stations must start AFTER ml_bridge.
Database
The table is created automatically on first start:
ml_water_stations: Stores tank positions, owner, liquid level, health, and fixed station IDs
Item Registration
Register the items from _INSTALL/ox_items.txt in your inventory system:
small_water_tank,medium_water_tank,large_water_tank: Placeable tank itemsbottle_empty,jug_empty,bucket_empty: Empty containers for liquid extractionbottle_water,jug_water,bucket_water: Filled water containersbottle_fuel,jug_fuel,bucket_fuel: Filled fuel containerssteel: Repair material
Copy images from _INSTALL/images/ into your inventory's image folder.
Verify
After starting, the console will print:
lua
1[ml_water_stations] Resource started
2[ml_water_stations] Developed by Micio Mods | miciomods.it- Tank model not loading. Ensure your server is not blocking base GTA props (
prop_air_watertank1, etc.). Custom props must be streamed correctly. - Can't collect liquid. Verify collection items (
bottle_empty,bucket_empty) are registered in your inventory and match names inConfig.FillItems. - DUI circle not appearing. Check
Config.ENABLE_DUI = trueand that the player is withinduiDistanceof the tank. - Rain not filling tanks. Verify
Config.EnableRainCollection = trueand the tank's liquid type is listed inConfig.RainyFillableTypes.