- Documentation
- Shared functions
- getWeaponIDs
Function
getWeaponIDs
Returns a sorted list of every weapon ID used in the game.
Syntax
table getWeaponIDs()Returns
A table of weapon IDs.
Example
for _, id in ipairs(getWeaponIDs()) do
print(id, getWeaponNameFromID(id))
end