RDR3 match
MISC::GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD
0x9CE61954D5D63565 ·RVA 0x03E85910
Signature
BOOL GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD(
Vector3 pos,
float* groundZ,
Vector3* normal
);
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 | float* | groundZ |
– |
| 2 | Vector3* | normal |
– |
Returns
BOOL
Call it
// MISC::GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD
auto result = invoke<BOOL>(0x9CE61954D5D63565, pos, &groundZ, &normal);// MISC::GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD
bool result = Function.Call<bool>((Hash)0x9CE61954D5D63565, pos, groundZ, normal);-- MISC::GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD
local result = Citizen.InvokeNative(0x9CE61954D5D63565, pos, groundZ, normal)// MISC::GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD
const result = Citizen.invokeNative("0x9CE61954D5D63565", pos, groundZ, normal);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.