GetWeaponList
The GetWeaponList export allows you to retrieve the complete list of weapons defined in your shared/weapons.lua file. This is useful for accessing and managing weapon data programmatically within your scripts.
How to Use
To get the full list of weapons, use the following code:
This will return a table containing all the weapons and their properties, such as name, label, damage, and more. You can use this data to interact with or display weapon details dynamically in your scripts.
Last updated