Installation
Overview
ML Liquid Stations manages placeable liquid containers. Players place water and fuel tanks, pour liquid in, fill bottles and jerry cans from them, and repair damaged tanks. Tanks show a 3D fill gauge, collect rain, wear down over time, and can also be fixed stations on the map.
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: tank positions, owner, liquid level, health and fixed station IDsml_water_stations_base_machines: tanks built as Outpost base pieces
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.