mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
chore: readme
This commit is contained in:
13
README.md
13
README.md
@@ -1,5 +1,16 @@
|
||||
## WIP Lua Library
|
||||
### How to utilise in another resource
|
||||
The idea of this resource is to create a set of reusable functions for importing into other resources. Though FiveM has its own system for importing files (which is used to load init), this simplifies declarations and allows you to keep everything as `locals` rather than polluting the global namespace.
|
||||
|
||||
Everyone is free to utilise either the library or code from it so long as [the license is respected and adhered to](https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)).
|
||||
|
||||
- [x] Server Callbacks
|
||||
- [ ] Table utilities
|
||||
- [ ] OxMySQL library
|
||||
- [ ] Native wrappers (animations, spawning, etc.)
|
||||
- [ ] Iterators
|
||||
- todo: think of more features
|
||||
|
||||
### How to utilise ServerCallbacks
|
||||
|
||||
- fxmanifest.lua
|
||||
```lua
|
||||
|
||||
@@ -13,6 +13,5 @@ local ServerCallback = {}
|
||||
end, ...)
|
||||
end)
|
||||
end
|
||||
}
|
||||
|
||||
return ServerCallback
|
||||
Reference in New Issue
Block a user