GetWeaponList
ESX.GetWeaponList()
This function gets the complete weapon list and label.
Example
local list = ESX.GetWeaponList()
for i=1, #list, 1 do
print(list[i].name .. ' => ' .. list[i].label)
end
ESX.GetWeaponList()
This function gets the complete weapon list and label.
local list = ESX.GetWeaponList()
for i=1, #list, 1 do
print(list[i].name .. ' => ' .. list[i].label)
end