Fix server lag when loading scripts

This was my bad, set up functions that requested the cache from server, didn't realise it was duplicating it and spamming it

This moves the requests to a separate file and uses an export instead

Also hopefully fixes ox_lib images being an arse
This commit is contained in:
Jim Shield committed 2025-06-26 23:15:33 +01:00
1 parent e204e6153d
commit e87aa8d74d
3 files changed
+68 -43

No files matched your search

+1
View File
@@ -22,5 +22,6 @@ server_scripts {
}
client_scripts {
'clientFrameworkCache.lua',
'ui_modules/*.lua'
}