Basic docs for all of ox_lib

This commit is contained in:
Linden committed 2022-03-01 21:09:18 +11:00
1 parent 2350a5bfc1
commit fd5ccc4964
14 files changed
+206 -64

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# Dependency version
### lib.checkDependency
Check if a resource is using a specified version or higher, allowing for compatibility checks or throwing errors.
```lua
-- repository: string
-- version: string
lib.versionCheck(repository, version)
if not lib.checkDependency('ox_lib', '1.5.0') then error() end
```