diff --git a/functions.lua b/functions.lua index 4a7ff53..e06fe7c 100644 --- a/functions.lua +++ b/functions.lua @@ -614,12 +614,11 @@ function dupeWarn(src, item) if Config.System.Debug == false then DropPlayer(src, src.." ^1Kicked for attempting to duplicate items") end - print("^5DupeWarn:^7: (^1"..tostring(src).."^7) ^2Dropped from server for item duplicating^7") + print("^5DupeWarn:^7: (^1"..tostring(src).."^7) ^2Dropped from server - exploit protection detected an item not being found in players inventory^7") end - function toggleDuty() - if GetResourceState(QBExport):find("start") then + if GetResourceState(QBExport):find("start") or GetResourceState(QBXExport):find("start") then TriggerServerEvent("QBCore:ToggleDuty") else onDuty = not onDuty @@ -833,4 +832,4 @@ function StopEffects() -- Used to clear up any effects stuck on screen AnimpostfxStop('RaceTurbo') AnimpostfxStop('FocusIn') AnimpostfxStop('Rampage') -end \ No newline at end of file +end