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
2025-06-26 23:15:33 +01:00
parent e204e6153d
commit e87aa8d74d
3 changed files with 68 additions and 43 deletions

View File

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