GTA V match
MISC::GET_ANGLE_BETWEEN_2D_VECTORS
0x79F684442F201E3B ·RVA 0x03E84B50
Signature
float GET_ANGLE_BETWEEN_2D_VECTORS(
float x1,
float y1,
float x2,
float y2
);
Parameters 4
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | float | x1 |
– |
| 1 | float | y1 |
– |
| 2 | float | x2 |
– |
| 3 | float | y2 |
– |
Returns
float
Call it
// MISC::GET_ANGLE_BETWEEN_2D_VECTORS
auto result = invoke<float>(0x79F684442F201E3B, x1, y1, x2, y2);// MISC::GET_ANGLE_BETWEEN_2D_VECTORS
float result = Function.Call<float>((Hash)0x79F684442F201E3B, x1, y1, x2, y2);-- MISC::GET_ANGLE_BETWEEN_2D_VECTORS
local result = Citizen.InvokeNative(0x79F684442F201E3B, x1, y1, x2, y2)// MISC::GET_ANGLE_BETWEEN_2D_VECTORS
const result = Citizen.invokeNative("0x79F684442F201E3B", x1, y1, x2, y2);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.