mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
more zone examples
This commit is contained in:
1 parent
cabfbfb107
commit
8081132d6f
2 files changed
+55
-17
No files matched your search
@@ -3,9 +3,9 @@
|
||||
### lib.checkDependency
|
||||
Check if a resource is using a specified version or higher, allowing for compatibility checks or throwing errors.
|
||||
```lua
|
||||
-- repository: string
|
||||
-- resource: string
|
||||
-- version: string
|
||||
lib.checkDependency(repository, version)
|
||||
lib.checkDependency(resource, version)
|
||||
|
||||
if not lib.checkDependency('ox_lib', '1.5.0') then error() end
|
||||
```
|
||||
Reference in new issue
Block a user