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
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Hash64 | modelHash |
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);// PED::IS_PED_MODEL
bool result = Function.Call<bool>((Hash)0xCA75A408362AA4E5, ped, modelHash);-- PED::IS_PED_MODEL
local result = Citizen.InvokeNative(0xCA75A408362AA4E5, ped, modelHash)// PED::IS_PED_MODEL
const result = Citizen.invokeNative("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.