Log In
Sign Up
RDR3 match

ENTITY::PIN_CLOSEST_MAP_ENTITY

0x75B661AD90CF97DA ·RVA 0x03C0FA70

Signature

int PIN_CLOSEST_MAP_ENTITY(
    Hash64 modelHash,
    Vector3 pos,
    int flags
);

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

Parameters 3

#TypeNameNotes
0Hash64modelHash RDR3 takes a Hash; GTA VI passes a 64-bit hash (the game reads 64 bits, and the scripts pass a value, not an address).
1Vector3pos –
2intflags –

Returns

int

Call it

// ENTITY::PIN_CLOSEST_MAP_ENTITY
auto result = invoke<int>(0x75B661AD90CF97DA, modelHash, pos, flags);

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.