_GET_META_PED_RACE
Based on its name and signature, here is our best reading:
Returns a hash that appears to identify the race or ethnicity setting of the meta ped ped.
Signature
Hash _GET_META_PED_RACE(Ped ped); // 0xB292203008EBBAAC b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | _GET_META_PED_RACE |
|---|---|
| Hash | 0xB292203008EBBAAC |
| Namespace | |
| Returns | Hash |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local hash = Citizen.InvokeNative(0xB292203008EBBAAC, -- _GET_META_PED_RACE
PlayerPedId(), -- Ped ped
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0xB292203008EBBAAC", // _GET_META_PED_RACE
PlayerPedId(), // Ped ped
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0xB292203008EBBAAC, // _GET_META_PED_RACE
API.PlayerPedId() // Ped ped
);Related PED natives
- _GET_META_PED_TYPE
- _GET_IS_PED_IN_DISPUTE_WITH_PED
- _GET_PED_META_OUTFIT_HASH
- _GET_PED_WHO_HOGITIED_THIS_PED
- _APPLY_PED_META_PED_OUTFIT
- _CREATE_META_PED_OUTFIT_PED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
- GET_META_PED_ASSET_GUIDS
- GET_META_PED_ASSET_TINT
- GET_NUM_META_PED_OUTFITS
- _GET_CARRIER_AS_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.