mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-16 09:43:56 +00:00
feat(resource): load callbacks
Load lib.callback for internal use.
This commit is contained in:
1 parent
0ecb968202
commit
ed7bf536e8
5 files changed
+17
-12
No files matched your search
Vendored
+1
-3
@@ -1,4 +1,4 @@
|
||||
local cache = {}
|
||||
local cache = _ENV.cache
|
||||
cache.playerId = PlayerId()
|
||||
cache.serverId = GetPlayerServerId(cache.playerId)
|
||||
|
||||
@@ -44,5 +44,3 @@ end)
|
||||
function lib.cache(key)
|
||||
return cache[key]
|
||||
end
|
||||
|
||||
_ENV.cache = cache
|
||||
Reference in new issue
Block a user