_REQUEST_META_PED_ASSET_BUNDLE
Requests the meta ped asset bundle asset and returns a request id.
Signature
int _REQUEST_META_PED_ASSET_BUNDLE(Hash asset, int p1); // 0x91FE941F9FCFB702 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | asset | Hash |
| 2 | p1 | int |
Facts
| Name | _REQUEST_META_PED_ASSET_BUNDLE |
|---|---|
| Hash | 0x91FE941F9FCFB702 |
| 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(0x91FE941F9FCFB702, -- _REQUEST_META_PED_ASSET_BUNDLE
GetHashKey("name"), -- Hash asset
0, -- int p1
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x91FE941F9FCFB702", // _REQUEST_META_PED_ASSET_BUNDLE
GetHashKey("name"), // Hash asset
0, // int p1
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x91FE941F9FCFB702, // _REQUEST_META_PED_ASSET_BUNDLE
(uint)API.GetHashKey("name"), // Hash asset
0 // int p1
);Related PED natives
- _REQUEST_META_PED_COMPONENT
- _REQUEST_META_PED_OUTFIT
- _REQUEST_META_PED
- _RELEASE_META_PED_ASSET_REQUEST
- _RELEASE_META_PED_OUTFIT_REQUEST
- _RELEASE_META_PED_REQUEST
- _REQUEST_MOTION_TYPE_ASSET
- _APPLY_PED_META_PED_OUTFIT
- _CREATE_META_PED_ASSET
- _CREATE_META_PED_OUTFIT_PED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.