Log In
Sign Up
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

#TypeNameNotes
0floatx1 –
1floaty1 –
2floatx2 –
3floaty2 –

Returns

float

Call it

// MISC::GET_ANGLE_BETWEEN_2D_VECTORS
auto result = invoke<float>(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.