mirror of
https://github.com/jimathy/jim-consumables.git
synced 2026-11-23 07:48:35 +00:00
a little wait before cancel progbar
This commit is contained in:
1 parent
a0c83c0e1f
commit
35bf894213
1 file changed
+1
@@ -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