restructure ox_lib docs

This commit is contained in:
Linden committed 2022-05-12 18:07:54 +10:00
1 parent 8081132d6f
commit a8be760943
21 files changed
+5 -30

No files matched your search

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