Shop metadataClientBlocked

getShopPedProp

GET_SHOP_PED_PROP0x5D5CAFF661DDF6FC

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

SignatureJavaScript
getShopPedProp(componentHash: Hash, outProp: null): void
SignatureLua
getShopPedProp(componentHash: Hash, outProp: 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 GET_SHOP_PED_PROP(Hash componentHash, Any* outProp)
Hash
0x5D5CAFF661DDF6FC

Open in the interactive natives reference