mirror of
https://github.com/jimathy/jim-consumables.git
synced 2026-08-21 00:12:49 +01:00
a little wait before cancel progbar
This commit is contained in:
@@ -86,6 +86,7 @@ RegisterNetEvent('jim-consumables:Consume', function(itemName)
|
||||
cancelled = true
|
||||
LocalPlayer.state:set("inv_busy", false, true)
|
||||
if Config.UseProgbar then
|
||||
Wait(10)
|
||||
TriggerEvent("progressbar:client:cancel")
|
||||
else
|
||||
triggerNotify(nil, "Cancelled "..string, "error")
|
||||
|
||||
Reference in New Issue
Block a user