RDR3 match
WATER::GET_WATER_HEIGHT
0xD77EC09603574DC0 ·RVA 0x04A879A0
Signature
BOOL GET_WATER_HEIGHT(Vector3 pos, float* height);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vector3 | pos |
– |
| 1 | float* | height |
– |
Returns
BOOL
Call it
// WATER::GET_WATER_HEIGHT
auto result = invoke<BOOL>(0xD77EC09603574DC0, pos, &height);// WATER::GET_WATER_HEIGHT
bool result = Function.Call<bool>((Hash)0xD77EC09603574DC0, pos, height);-- WATER::GET_WATER_HEIGHT
local result = Citizen.InvokeNative(0xD77EC09603574DC0, pos, height)// WATER::GET_WATER_HEIGHT
const result = Citizen.invokeNative("0xD77EC09603574DC0", pos, height);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.