The Lab
PED native

_REQUEST_META_PED_ASSET_BUNDLE

returns int2 paramsbuild 1207

Requests the meta ped asset bundle asset and returns a request id.

Signature

C
int _REQUEST_META_PED_ASSET_BUNDLE(Hash asset, int p1); // 0x91FE941F9FCFB702 b1207

Parameters

#NameType
1assetHash
2p1int

Facts

Facts about _REQUEST_META_PED_ASSET_BUNDLE
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.

Lua
local result = Citizen.InvokeNative(0x91FE941F9FCFB702, -- _REQUEST_META_PED_ASSET_BUNDLE
  GetHashKey("name"), -- Hash asset
  0, -- int p1
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x91FE941F9FCFB702", // _REQUEST_META_PED_ASSET_BUNDLE
  GetHashKey("name"), // Hash asset
  0, // int p1
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x91FE941F9FCFB702, // _REQUEST_META_PED_ASSET_BUNDLE
  (uint)API.GetHashKey("name"), // Hash asset
  0 // int p1
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.