WATER

GET_WATER_HEIGHT

0xF6829842C06AE524 Jenkins: 0xD864E17C

Signature

// WATER
BOOL GET_WATER_HEIGHT(float x, float y, float z, float* height)

Parameters

Type Name
float x
float y
float z
float* height

Return type BOOL

Build 323

Documentation

This function set height to the value of z-axis of the water surface. This function works with sea and lake. However it does not work with shallow rivers (e.g. raton canyon will return -100000.0f) note: seems to return true when you are in water

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.