GetWaterHeight — FiveM Natives
0xF6829842C06AE524 · WATER · all
Retrieves the depth of the water beneath the specified position, accounting for the waves. Note: The result might vary depending on the specific frame when this command is executed due to wave fluctuations.
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | The coordinate at which to test at for water. |
| y | float | The coordinate at which to test at for water. |
| z | float | The coordinate at which to test at for water. |
| height | float* | The height at which to test at for water. |
Returns
BOOL