getDlcWeaponData
GET_DLC_WEAPON_DATA0x79923CD21BECE14EThe GTA V native GET_DLC_WEAPON_DATA of the EXTRAMETADATA namespace, as LS:MP client scripts call it: the global function getDlcWeaponData, in JavaScript and in Lua.
getDlcWeaponData(dlcWeaponIndex: number, outData: null): booleangetDlcWeaponData(dlcWeaponIndex: integer, outData: 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_DLC_WEAPON_DATA(int dlcWeaponIndex, Any* outData)- Hash
0x79923CD21BECE14E