## Lua Library for FiveM
FXServer provides its own system for including files, which we use to load this resource in the fxmanifest via
```lua
shared_script '@ox_lib/init.lua'
```
Once loaded, any resource can call exports or load modules with the `lib` keyword, i.e.
```lua
lib.callbacks.Register(...)
```
Modules are loaded into the environment of the invoking resource, unlike exports which are called via function reference.
If you don't want to use this resource, but want to reuse code you are permitted to do so under the [license terms](https://www.gnu.org/licenses/gpl-3.0.html).
Any resources distributed with this code is subject to the same license restrictions and must be made available under the same license ([more below](#license)).
|
ox_lib
Copyright (C) 2021 Linden |
| https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3) |