forked from overextended/ox_lib
-
-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Run this code
local alert = lib.alertDialog({
header = 'HEADER',
content = 'WAIT FOR TIMEOUT',
centered = true,
cancel = true
}, 3000)
if alert == 'confirm' then
print(1)
else
print(2)
end- See error
^1SCRIPT ERROR: @_____/client/client.lua:1:
^5 An error occurred while calling export `alertDialog` in resource `ox_lib`:
citizen:/scripting/lua/scheduler.lua:580: ^1SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:484: timeout^7
^5 ---^7
^3> handler^7 (^5@_____/client/client.lua^7:1)
Expected behavior
return for example 'timeout'
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working