The Lab
PED native

_HAS_META_PED_ASSET_LOADED

returns BOOL1 parambuild 1207

Returns true once the meta ped asset request requestId has loaded.

Signature

C
BOOL _HAS_META_PED_ASSET_LOADED(int requestId); // 0xB0B2C6D170B0E8E5 b1207

Parameters

#NameType
1requestIdint

Facts

Facts about _HAS_META_PED_ASSET_LOADED
Name
_HAS_META_PED_ASSET_LOADED
Hash
0xB0B2C6D170B0E8E5
Namespace
Returns
BOOL
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(0xB0B2C6D170B0E8E5, -- _HAS_META_PED_ASSET_LOADED
  0 -- int requestId
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xB0B2C6D170B0E8E5", // _HAS_META_PED_ASSET_LOADED
  0, // int requestId
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xB0B2C6D170B0E8E5, // _HAS_META_PED_ASSET_LOADED
  0 // int requestId
);
All PED natives

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