RDR3 match
WATER::TEST_VERTICAL_PROBE_AGAINST_ALL_WATER
0xE1CEBD1DD4CBAE05 ·RVA 0x04A95FC0
Signature
int TEST_VERTICAL_PROBE_AGAINST_ALL_WATER(
Vector3 pos,
int flags,
float* waterHeight
);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vector3 | pos |
– |
| 1 | int | flags |
– |
| 2 | float* | waterHeight |
– |
Returns
int
Call it
// WATER::TEST_VERTICAL_PROBE_AGAINST_ALL_WATER
auto result = invoke<int>(0xE1CEBD1DD4CBAE05, pos, flags, &waterHeight);// WATER::TEST_VERTICAL_PROBE_AGAINST_ALL_WATER
int result = Function.Call<int>((Hash)0xE1CEBD1DD4CBAE05, pos, flags, waterHeight);-- WATER::TEST_VERTICAL_PROBE_AGAINST_ALL_WATER
local result = Citizen.InvokeNative(0xE1CEBD1DD4CBAE05, pos, flags, waterHeight)// WATER::TEST_VERTICAL_PROBE_AGAINST_ALL_WATER
const result = Citizen.invokeNative("0xE1CEBD1DD4CBAE05", pos, flags, waterHeight);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.