Skip to content

ESX.GetWeaponList

1
ESX.GetWeaponList()

This function gets the complete weapon list and label.

ESX.GetWeaponList Example

1
2
3
4
5
local list = ESX.GetWeaponList()

for i=1, #list, 1 do
    print(list[i].name .. ' => ' .. list[i].label)
end