Log In
Sign Up
RDR3 match

PED::IS_PED_MODEL

0xCA75A408362AA4E5 ·RVA 0x04BD11A0

Signature

BOOL IS_PED_MODEL(Ped ped, Hash64 modelHash);

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

Parameters 2

#TypeNameNotes
0Pedped –
1Hash64modelHash 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).

Returns

BOOL

Call it

// PED::IS_PED_MODEL
auto result = invoke<BOOL>(0xCA75A408362AA4E5, ped, modelHash);

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.