mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
refactor(init): throw an error if ox_lib is not started
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
local callback = {}
|
||||
|
||||
---@param name string
|
||||
---@param callback function
|
||||
---@param cb function
|
||||
--- Registers an event handler and callback function to respond to client requests.
|
||||
function callback.register(name, cb)
|
||||
name = ('__cb_%s'):format(name)
|
||||
|
||||
Reference in New Issue
Block a user