Files
overextended.github.io/docs/ox_lib/Version/Shared.md
T
2022-05-12 18:07:54 +10:00

10 lines
291 B
Markdown

### 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
```