RDR3 match
OBJECT::GET_OFFSET_FROM_COORD_AND_HEADING_IN_WORLD_COORDS
0x1FCA5ECCE9C1DAD2 ·RVA 0x04C139B0
Signature
Vector3 GET_OFFSET_FROM_COORD_AND_HEADING_IN_WORLD_COORDS(
Vector3 pos,
float heading,
Vector3 offset
);
The scripts pass 5 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 | heading |
– |
| 2 | Vector3 | offset |
– |
Returns
Vector3
Call it
// OBJECT::GET_OFFSET_FROM_COORD_AND_HEADING_IN_WORLD_COORDS
auto result = invoke<Vector3>(0x1FCA5ECCE9C1DAD2, pos, heading, offset);// OBJECT::GET_OFFSET_FROM_COORD_AND_HEADING_IN_WORLD_COORDS
Vector3 result = Function.Call<Vector3>((Hash)0x1FCA5ECCE9C1DAD2, pos, heading, offset);-- OBJECT::GET_OFFSET_FROM_COORD_AND_HEADING_IN_WORLD_COORDS
local result = Citizen.InvokeNative(0x1FCA5ECCE9C1DAD2, pos, heading, offset)// OBJECT::GET_OFFSET_FROM_COORD_AND_HEADING_IN_WORLD_COORDS
const result = Citizen.invokeNative("0x1FCA5ECCE9C1DAD2", pos, heading, 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.