Description: Checks against a global variable that is set by _SET_WORLD_WATER_TYPE. If that is set to one it will fail. Likely not the only issue but part of it.
Property
Value
Native Name
GET_WATER_HEIGHT
Hash
0xFCA8B23F28813F69
Return Type
BOOL
Build
1207
Parameters
x (float), y (float), z (float), height (float*)
Parameters
x (float)
y (float)
z (float)
height (float*)
Usage
Lua (Direct):
local result = GetWaterHeight(x, y, z, height)
Lua (Hash):
local result = Citizen.InvokeNative(0xFCA8B23F28813F69, x, y, z, height)