mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
fix(client/callback): mark delay as optional
This commit is contained in:
@@ -67,7 +67,7 @@ lib.callback = setmetatable({}, {
|
||||
})
|
||||
|
||||
---@param event string
|
||||
---@param delay number | false prevent the event from being called for the given time
|
||||
---@param delay? number | false prevent the event from being called for the given time.
|
||||
---Sends an event to the server and halts the current thread until a response is returned.
|
||||
function lib.callback.await(event, delay, ...)
|
||||
return triggerServerCallback(nil, event, delay, false, ...)
|
||||
|
||||
Reference in New Issue
Block a user