Client · JavaScript & Lua

GTA V Shop metadata natives (EXTRAMETADATA)

Shop items, outfits, tattoos and weapon data declared by DLC metadata.

The 49 natives of the game’s EXTRAMETADATA namespace, as LS:MP client scripts call them: global functions with the same arguments in JavaScript and in Lua. Each one has its own page, with its signature, a call in both languages, its parameters and what it returns.

NativeGame nameHash
getNumTattooShopDlcItemsGET_NUM_TATTOO_SHOP_DLC_ITEMS0x278F76C3B0A8F109
getTattooShopDlcItemDataBlockedGET_TATTOO_SHOP_DLC_ITEM_DATA0xFF56381874F82086
getTattooShopDlcItemIndexGET_TATTOO_SHOP_DLC_ITEM_INDEX0x10144267DD22866C
initShopPedComponentBlockedINIT_SHOP_PED_COMPONENT0x1E8C308FD312C036
initShopPedPropBlockedINIT_SHOP_PED_PROP0xEB0A2B758F7B850F
setupShopPedApparelQuerySETUP_SHOP_PED_APPAREL_QUERY0x50F457823CE6EB5F
setupShopPedApparelQueryTuSETUP_SHOP_PED_APPAREL_QUERY_TU0x9BDF59818B1E38C1
getShopPedQueryComponentBlockedGET_SHOP_PED_QUERY_COMPONENT0x249E310B2D920699
getShopPedQueryComponentIndexGET_SHOP_PED_QUERY_COMPONENT_INDEX0x96E2929292A4DB77
getShopPedComponentBlockedGET_SHOP_PED_COMPONENT0x74C0E2A57EC66760
getShopPedQueryPropBlockedGET_SHOP_PED_QUERY_PROP0xDE44A00999B2837D
getShopPedQueryPropIndexGET_SHOP_PED_QUERY_PROP_INDEX0x6CEBE002E58DEE97
getShopPedPropBlockedGET_SHOP_PED_PROP0x5D5CAFF661DDF6FC
getHashNameForComponentGET_HASH_NAME_FOR_COMPONENT0x0368B3A838070348
getHashNameForPropGET_HASH_NAME_FOR_PROP0x5D6160275CAEC8DD
getShopPedApparelVariantComponentCountGET_SHOP_PED_APPAREL_VARIANT_COMPONENT_COUNT0xC17AD0E5752BECDA
getShopPedApparelVariantPropCountGET_SHOP_PED_APPAREL_VARIANT_PROP_COUNT0xD40AAC51E8E4C663
getVariantComponentGET_VARIANT_COMPONENT0x6E11F282F11863B6
getVariantPropGET_VARIANT_PROP0xD81B7F27BC773E66
getShopPedApparelForcedComponentCountGET_SHOP_PED_APPAREL_FORCED_COMPONENT_COUNT0xC6B9DB42C04DD8C3
getShopPedApparelForcedPropCountGET_SHOP_PED_APPAREL_FORCED_PROP_COUNT0x017568A8182D98A6
getForcedComponentGET_FORCED_COMPONENT0x6C93ED8C2F74859B
getForcedPropGET_FORCED_PROP0xE1CA84EBF72E691D
doesShopPedApparelHaveRestrictionTagDOES_SHOP_PED_APPAREL_HAVE_RESTRICTION_TAG0x341DE7ED1D2A1BFD
doesCurrentPedComponentHaveRestrictionTagDOES_CURRENT_PED_COMPONENT_HAVE_RESTRICTION_TAG0x7796B21B76221BC5
doesCurrentPedPropHaveRestrictionTagDOES_CURRENT_PED_PROP_HAVE_RESTRICTION_TAG0xD726BAB4554DA580
setupShopPedOutfitQuerySETUP_SHOP_PED_OUTFIT_QUERY0xF3FBE2D50A6A8C28
getShopPedQueryOutfitBlockedGET_SHOP_PED_QUERY_OUTFIT0x6D793F03A631FE56
getShopPedOutfitBlockedGET_SHOP_PED_OUTFIT0xB7952076E444979D
getShopPedOutfitLocateGET_SHOP_PED_OUTFIT_LOCATE0x073CA26B079F956E
getShopPedOutfitPropVariantBlockedGET_SHOP_PED_OUTFIT_PROP_VARIANT0xA9F9C2E0FDE11CBB
getShopPedOutfitComponentVariantBlockedGET_SHOP_PED_OUTFIT_COMPONENT_VARIANT0x19F2A026EDF0013F
getNumDlcVehiclesGET_NUM_DLC_VEHICLES0xA7A866D21CD2329B
getDlcVehicleModelGET_DLC_VEHICLE_MODEL0xECC01B7C5763333C
getDlcVehicleDataBlockedGET_DLC_VEHICLE_DATA0x33468EDC08E371F6
getDlcVehicleFlagsGET_DLC_VEHICLE_FLAGS0x5549EE11FA22FCF2
getNumDlcWeaponsGET_NUM_DLC_WEAPONS0xEE47635F352DA367
getNumDlcWeaponsSpGET_NUM_DLC_WEAPONS_SP0x4160B65AE085B5A9
getDlcWeaponDataBlockedGET_DLC_WEAPON_DATA0x79923CD21BECE14E
getDlcWeaponDataSpBlockedGET_DLC_WEAPON_DATA_SP0x310836EE7129BA33
getNumDlcWeaponComponentsGET_NUM_DLC_WEAPON_COMPONENTS0x405425358A7D61FE
getNumDlcWeaponComponentsSpGET_NUM_DLC_WEAPON_COMPONENTS_SP0xAD2A7A6DFF55841B
getDlcWeaponComponentDataBlockedGET_DLC_WEAPON_COMPONENT_DATA0x6CF598A2957C2BF8
getDlcWeaponComponentDataSpBlockedGET_DLC_WEAPON_COMPONENT_DATA_SP0x31D5E073B6F93CDC
isContentItemLockedIS_CONTENT_ITEM_LOCKED0xD4D7B033C3AA243C
isDlcVehicleModIS_DLC_VEHICLE_MOD0x0564B9FF9631B82C
getDlcVehicleModLockHashGET_DLC_VEHICLE_MOD_LOCK_HASH0xC098810437312FFF
executeContentChangesetGroupForAllEXECUTE_CONTENT_CHANGESET_GROUP_FOR_ALL0x6BEDF5769AC2DC07
revertContentChangesetGroupForAllREVERT_CONTENT_CHANGESET_GROUP_FOR_ALL0x3C1978285B036B25

Other namespaces

Built-in25Script VM basics: timers, maths helpers, thread control.App data17Data blocks shared with the game's companion apps.Audio280Sounds, speech, music, radio, audio scenes and scripted conversations.Script brains11Script brains attached to objects, peds and world points.Camera248Scripted cameras, the gameplay camera, shakes, cinematic and hint cameras.Clock16In-game time and date, and the real-world clock.Cutscenes56Loading, playing and controlling cutscenes.Data files57Cloud data files and their dictionary and array structures.Decorators12Typed key/value decorators attached to entities.DLC14Presence and state of downloadable content.Entity189Anything placed in the world: position, rotation, health, attachment, collision, visibility.Events13AI and shocking events: adding, blocking and suppressing them.Fire19Script fires and explosions.Graphics403Drawing: markers, lines, sprites, lights, particle effects, scaleform movies, timecycles and screen effects.HUD518Text, help and notifications, blips and the minimap, pause-menu and frontend components.IIS1The initial interactive screen shown when the game starts.Interior45Interiors, rooms and entity sets.Item sets9Script-side collections of entities and other items.Landing page4The game's landing page.Lobby8Legacy lobby state of the game's own multiplayer menu.Localization3Language and region of the game.Misc345Everything without a better home: weather, ground and area checks, maths, hashing, strings, game flow.Mobile phone25The in-game phone prop: position, rotation, scale and camera.Money357The game's online economy: earn and spend records, balances.Net shopping42The game's online catalog, baskets and transactions.Network883The game's own network layer: sessions, players, network ids, entity control, cloud content.Object166Props: creation, doors, pickups, breakable and animated objects.Controls50Player input: reading and disabling control actions, vibration, look inversion.Pathfinding60Road nodes, the navigation mesh and GPS routes.Ped614Characters: creation, appearance, health, groups, relationships, ragdoll, config flags.Physics49Ropes, and the physics state of entities.Player250The local player: wanted level, abilities, targeting, control, model, invincibility.Recording17Rockstar Editor recording control.Replay6Rockstar Editor replay and clip state.Save migration8Transfer of a saved game between platforms and accounts.Script38Game script threads and script events.Security3Tamper protection of script variables.Shape tests11Raycasts and the other world probes.Social Club84Social Club inbox, profanity checks, licence plates and presence.Stats338Player statistics, leaderboards and telemetry.Streaming121Loading assets: models, animation and texture dictionaries, particle assets, IPLs, focus.Tasks313AI tasks: movement, combat, animations, driving, scenarios and sequences.Vehicle774Vehicles: creation, mods, colours, doors, damage, handling flags.Water12Water height, waves and water probes.Weapon123Weapons, ammunition, components and weapon objects.Zones9Map zones and population schedules.

Search them in the interactive natives reference