Shop metadataClientBlocked

initShopPedComponent

INIT_SHOP_PED_COMPONENT0x1E8C308FD312C036

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

SignatureJavaScript
initShopPedComponent(outComponent: null): void
SignatureLua
initShopPedComponent(outComponent: nil)
✕
Blocked for scripts: Raw memory and structures

This native reads or fills a memory structure a script has no way to provide, so it is not callable. For entity lists, use lsmp.getGamePool. For JSON, use lsmp.json.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Shop metadata EXTRAMETADATA
In the game
void INIT_SHOP_PED_COMPONENT(Any* outComponent)
Hash
0x1E8C308FD312C036

Open in the interactive natives reference