isContentItemLocked

IS_CONTENT_ITEM_LOCKED0xD4D7B033C3AA243C

The GTA V native IS_CONTENT_ITEM_LOCKED of the EXTRAMETADATA namespace, as LS:MP client scripts call it: the global function isContentItemLocked, in JavaScript and in Lua.

SignatureJavaScript
isContentItemLocked(itemHash: Hash): boolean
SignatureLua
isContentItemLocked(itemHash: Hash): boolean

Usage

JavaScript
const result = isContentItemLocked(itemHash);
Lua
local result = isContentItemLocked(itemHash)

Parameters

ParameterTypeJavaScriptLua
itemHashHashnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Shop metadata EXTRAMETADATA
In the game
BOOL IS_CONTENT_ITEM_LOCKED(Hash itemHash)
Hash
0xD4D7B033C3AA243C
Formerly
_IS_OUTFIT_EMPTY _IS_DLC_DATA_EMPTY

Open in the interactive natives reference