RDR3 match
MISC::GET_HEADING_FROM_VECTOR_2D
0x06D8E39DC72ADFD0 ·RVA 0x03E85AB0
Signature
float GET_HEADING_FROM_VECTOR_2D(float dx, float dy);
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | float | dx |
– |
| 1 | float | dy |
– |
Returns
float
Call it
// MISC::GET_HEADING_FROM_VECTOR_2D
auto result = invoke<float>(0x06D8E39DC72ADFD0, dx, dy);// MISC::GET_HEADING_FROM_VECTOR_2D
float result = Function.Call<float>((Hash)0x06D8E39DC72ADFD0, dx, dy);-- MISC::GET_HEADING_FROM_VECTOR_2D
local result = Citizen.InvokeNative(0x06D8E39DC72ADFD0, dx, dy)// MISC::GET_HEADING_FROM_VECTOR_2D
const result = Citizen.invokeNative("0x06D8E39DC72ADFD0", dx, dy);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.