getShopPedOutfitComponentVariant
GET_SHOP_PED_OUTFIT_COMPONENT_VARIANT0x19F2A026EDF0013FThe GTA V native GET_SHOP_PED_OUTFIT_COMPONENT_VARIANT of the EXTRAMETADATA namespace, as LS:MP client scripts call it: the global function getShopPedOutfitComponentVariant, in JavaScript and in Lua.
getShopPedOutfitComponentVariant(
outfitHash: Hash,
variantIndex: number,
outComponentVariant: null
): booleangetShopPedOutfitComponentVariant(
outfitHash: Hash,
variantIndex: integer,
outComponentVariant: 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_COMPONENT_VARIANT(Hash outfitHash, int variantIndex, Any* outComponentVariant)- Hash
0x19F2A026EDF0013F- Formerly
_GET_PROP_FROM_OUTFIT