mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-15 09:33:55 +00:00
refactor(imports): assign modules directly to lib namespace
Mostly a change for improved intellisense with sumneko lua. Includes some type fixes and deprecation notices.
This commit is contained in:
1 parent
107d812dc3
commit
26538b8148
19 files changed
+98
-61
No files matched your search
@@ -149,7 +149,7 @@ function lib.cancelProgress()
|
||||
if not progress then
|
||||
error('No progress bar is active')
|
||||
elseif not progress.canCancel then
|
||||
error(("Progress bar '%s' cannot be cancelled"):format(id))
|
||||
error('Progress bar cannot be cancelled')
|
||||
end
|
||||
|
||||
progress = false
|
||||
|
||||
Reference in new issue
Block a user