_REQUEST_META_PED
Requests the meta ped data for model and returns a request id.
Signature
int _REQUEST_META_PED(Hash model, int p1); // 0xF97C34C33487D569 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | model | Hash |
| 2 | p1 | int |
Facts
| Name | _REQUEST_META_PED |
|---|---|
| Hash | 0xF97C34C33487D569 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xF97C34C33487D569, -- _REQUEST_META_PED
GetHashKey("a_c_horse_arabian_white"), -- Hash model
0, -- int p1
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xF97C34C33487D569", // _REQUEST_META_PED
GetHashKey("a_c_horse_arabian_white"), // Hash model
0, // int p1
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xF97C34C33487D569, // _REQUEST_META_PED
(uint)API.GetHashKey("a_c_horse_arabian_white"), // Hash model
0 // int p1
);Related PED natives
- _REQUEST_META_PED_ASSET_BUNDLE
- _REQUEST_META_PED_COMPONENT
- _REQUEST_META_PED_OUTFIT
- _RELEASE_META_PED_ASSET_REQUEST
- _RELEASE_META_PED_OUTFIT_REQUEST
- _RELEASE_META_PED_REQUEST
- _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
- _HAS_META_PED_REQUEST_LOADED
- _IS_META_PED_OUTFIT_REQUEST_VALID
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.