Need help with water.xml

Hi guys !

I’m here for some help with a water.xml file i’m trying to mount on my server, i’ve tried multiple ways,
i searched a lot during last weeks, tried the old replace_level_meta way but it doesn’t seem to work since
the transition between CFX to FX, can someone give me a hand ?

just use

files {
‘water.xml’
} in your __resource.lua and place your water.xml in the same folder. In my case i have

resource_type ‘map’ { gameTypes = { fivem = true } }

at the begining of my resource.lua but i’m not persuaded it’s necessary

I found this which allows me to do no water by turning it down or turn it up for flooding.