mirror of
https://github.com/jimathy/jim-consumables.git
synced 2026-08-17 06:26:03 +01:00
a little wait before cancel progbar
This commit is contained in:
committed by
GitHub
parent
a0c83c0e1f
commit
35bf894213
@@ -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