_HAS_META_PED_ASSET_LOADED
Hash
0xB0B2C6D170B0E8E5Runtime name
HasMetaPedAssetLoadedNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _HAS_META_PED_ASSET_LOADED(int requestId);Parameters
| Name | Type | Description |
|---|---|---|
requestId | int | — |
Returns BOOL
Usage
local retval = HasMetaPedAssetLoaded(requestId)
-- always works, by hash
local retval = Citizen.InvokeNative(0xB0B2C6D170B0E8E5, requestId, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = HasMetaPedAssetLoaded(requestId);
// by hash
const retval = Citizen.invokeNative('0xB0B2C6D170B0E8E5', requestId, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xB0B2C6D170B0E8E5, requestId);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.