Log In
Sign Up
Game codeUnofficial name

ENTITY::_SET_ENTITY_COORDS_AND_HEADING

0x41ED1695DFC41002 ·RVA 0x03C13640

Signature

void _SET_ENTITY_COORDS_AND_HEADING(
    Entity entity,
    Vector3 pos,
    float heading,
    BOOL xAxis,
    BOOL yAxis,
    float zAxis
);

The scripts pass 8 values to this native; the decoded signature lists 6 (arguments the game doesn't read are left out).

Parameters 6

#TypeNameNotes
0Entityentity –
1Vector3pos –
2floatheading –
3BOOLxAxis –
4BOOLyAxis –
5floatzAxis RDR3 says BOOL, but the game reads it as a float.

Returns

void Nothing.

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:

Call it

// ENTITY::_SET_ENTITY_COORDS_AND_HEADING
invoke<Void>(0x41ED1695DFC41002, entity, pos, heading, xAxis, yAxis, zAxis);

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.