Item Probability
How to make a probability item system
RegisterNetEvent('gusti-lootcrate:openCrate')
AddEventHandler('gusti-lootcrate:openCrate', function()
ESX.TriggerServerCallback('gusti-lootcrate:openCrate', function(success)
if success then
ESX.ShowNotification('You received an item!')
else
ESX.ShowNotification('You cannot carry more items.')
end
end)
end)
Last updated