getDlcWeaponDataSp
GET_DLC_WEAPON_DATA_SP0x310836EE7129BA33The GTA V native GET_DLC_WEAPON_DATA_SP of the EXTRAMETADATA namespace, as LS:MP client scripts call it: the global function getDlcWeaponDataSp, in JavaScript and in Lua.
getDlcWeaponDataSp(dlcWeaponIndex: number, outData: null): booleangetDlcWeaponDataSp(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_SP(int dlcWeaponIndex, Any* outData)- Hash
0x310836EE7129BA33- Introduced
- Game build 2060 legacy numbering
- Formerly
_GET_DLC_WEAPON_DATA_SP