The FiveM developer’s field guide
Know the native.
Build the world.
Engine functions, framework docs, and game assets.
One reference. From the first lookup to the last line.
knowledge base
Explore / FiveM
Native reference
- WATERvoid
0x547237AA71AB44DE
Description not yet documented
0x547237AA71AB44DE - WATERint
ADD_EXTRA_CALMING_QUAD
Only 8 current rises can exist. If rises need to be changed, use REMOVE_EXTRA_CALMING_QUAD and then ADD_EXTRA_CALMING_QUAD again. After removing a rise, you will be able to add a rise again.
0xFDBF4CDBC07E1706 - WATERfloat
GET_DEEP_OCEAN_SCALER
``` Gets the aggressiveness factor of the ocean waves. ```
0x2B2A2CC86778B619 - WATERBOOL
GET_WATER_HEIGHT
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.
0xF6829842C06AE524 - WATERBOOL
GET_WATER_HEIGHT_NO_WAVES
Retrieves the depth of the water beneath the specified position, disregarding wave effects. **Note:** The result remains consistent across different frames as it doesn't consider wave fluctuations.
0x8EE6B53CE13A9794 - WATERvoid
MODIFY_WATER
``` Sets the water height for a given position and radius. ```
0xC443FD757C3BA637 - WATERvoid
_REMOVE_CURRENT_RISE
``` p0 is the handle returned from _0xFDBF4CDBC07E1706 ```
0xB1252E3E59A82AAF - WATERvoid
RESET_DEEP_OCEAN_SCALER
``` Sets the waves intensity back to original (1.0 in most cases). ```
0x5E5E99285AE812DB - WATERvoid
SET_DEEP_OCEAN_SCALER
``` Sets a value that determines how aggressive the ocean waves will be. Values of 2.0 or more make for very aggressive waves like you see during a thunderstorm. Works only ~200 meters around the player. ```
0xB96B00E976BE977F - WATERBOOL
TEST_PROBE_AGAINST_ALL_WATER
Flags are identical to START_SHAPE_TEST\*, however, 128 is automatically set.
0x8974647ED222EA5F - WATERBOOL
TEST_PROBE_AGAINST_WATER
Description not yet documented
0xFFA5D878809819DB - WATERBOOL
TEST_VERTICAL_PROBE_AGAINST_ALL_WATER
Description not yet documented
0x2B3451FA1E3142E2
A living reference. Documentation coverage varies by native and source.