PedClient

hasActionModeAssetLoaded

HAS_ACTION_MODE_ASSET_LOADED0xE4B5F4BF2CB24E65

The GTA V native HAS_ACTION_MODE_ASSET_LOADED of the PED namespace, as LS:MP client scripts call it: the global function hasActionModeAssetLoaded, in JavaScript and in Lua.

SignatureJavaScript
hasActionModeAssetLoaded(asset: string): boolean
SignatureLua
hasActionModeAssetLoaded(asset: string): boolean

Usage

JavaScript
const result = hasActionModeAssetLoaded(asset);
Lua
local result = hasActionModeAssetLoaded(asset)

Parameters

ParameterTypeJavaScriptLua
assetstringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL HAS_ACTION_MODE_ASSET_LOADED(const char* asset)
Hash
0xE4B5F4BF2CB24E65

Open in the interactive natives reference