mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
7838a3cfe41c10f88aa002f5dbc5d38b5cae3016
lib.onCache serves as a helper to setup cache event listeners. Removed _cache table and index method. Only apply metatable to client-side cache (nothing exists on server yet). When cache is indexed, setup an event handler for the key. Remove some ox_core/ox_groups specific code (unused). Remove the updateCache event, and interval.
Lua Library for FiveM
FXServer provides its own system for including files, which we use to load this resource in the fxmanifest via
shared_script '@ox_lib/init.lua'
server.cfg
add_ace resource.ox_lib command.add_principal allow
add_ace resource.ox_lib command.remove_principal allow
License
Description
Languages
Lua
62.5%
TypeScript
35.6%
CSS
1.7%