RDR3 match
ENTITY::GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS
0xD3651963B68394E5 ·RVA 0x03C0BC90
Signature
Vector3 GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS(
Entity entity,
Vector3 pos
);
The scripts pass 4 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | entity |
– |
| 1 | Vector3 | pos |
– |
Returns
Vector3
Call it
// ENTITY::GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS
auto result = invoke<Vector3>(0xD3651963B68394E5, entity, pos);// ENTITY::GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS
Vector3 result = Function.Call<Vector3>((Hash)0xD3651963B68394E5, entity, pos);-- ENTITY::GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS
local result = Citizen.InvokeNative(0xD3651963B68394E5, entity, pos)// ENTITY::GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS
const result = Citizen.invokeNative("0xD3651963B68394E5", entity, pos);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.