mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-11-21 19:38:33 +00:00
Strengthen toggleItem security
- locked down `addItem` to be a lot more strict to reduce exploits - fixed issue for if no supported inventory was found it now uses the correct functions
This commit is contained in:
1 parent
8c947aae73
commit
40eed38dc2
4 files changed
+573
-55
No files matched your search
+3
-1
@@ -33,7 +33,7 @@ Exports = {
|
||||
}
|
||||
|
||||
-- Required variables
|
||||
debugMode = false
|
||||
debugMode = true
|
||||
|
||||
QBInvNew = true
|
||||
|
||||
@@ -181,6 +181,7 @@ for _, v in pairs({ -- This is a specific load order
|
||||
'make/loaders.lua',
|
||||
'make/makeBlip.lua',
|
||||
'make/makePed.lua',
|
||||
'make/pedTasks.lua',
|
||||
'make/makeProp.lua',
|
||||
'make/makeVeh.lua',
|
||||
'make/cameras.lua',
|
||||
@@ -188,6 +189,7 @@ for _, v in pairs({ -- This is a specific load order
|
||||
|
||||
'wrapperfunctions.lua',
|
||||
'polyZone.lua',
|
||||
'clientItemAllowlist.lua',
|
||||
'itemcontrol.lua',
|
||||
'playerfunctions.lua',
|
||||
'metaHandlers.lua',
|
||||
|
||||
Reference in new issue
Block a user