RDR3 match
ENTITY::GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS
0x4F1ED7B7E7660CD7 ·RVA 0x03C0BD10
Signature
Vector3 GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS(
Entity entity,
Vector3 offset
);
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 | offset |
– |
Returns
Vector3
Call it
// ENTITY::GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS
auto result = invoke<Vector3>(0x4F1ED7B7E7660CD7, entity, offset);// ENTITY::GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS
Vector3 result = Function.Call<Vector3>((Hash)0x4F1ED7B7E7660CD7, entity, offset);-- ENTITY::GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS
local result = Citizen.InvokeNative(0x4F1ED7B7E7660CD7, entity, offset)// ENTITY::GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS
const result = Citizen.invokeNative("0x4F1ED7B7E7660CD7", entity, offset);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.