Shop metadataClientBlocked

getShopPedOutfitPropVariant

GET_SHOP_PED_OUTFIT_PROP_VARIANT0xA9F9C2E0FDE11CBB

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

SignatureJavaScript
getShopPedOutfitPropVariant(
  outfitHash: Hash,
  variantIndex: number,
  outPropVariant: null
): boolean
SignatureLua
getShopPedOutfitPropVariant(
  outfitHash: Hash,
  variantIndex: integer,
  outPropVariant: nil
): boolean
✕
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
BOOL GET_SHOP_PED_OUTFIT_PROP_VARIANT(Hash outfitHash, int variantIndex, Any* outPropVariant)
Hash
0xA9F9C2E0FDE11CBB

Open in the interactive natives reference