From e1d323491754ef1b02b699e621012796d920ee8b Mon Sep 17 00:00:00 2001 From: MrNewb <47620135+MrNewb@users.noreply.github.com> Date: Fri, 13 Jun 2025 08:44:15 -0400 Subject: [PATCH] small tweak For old versions of ox_target that were providing for (qb-target with) these exports they would get an error when the min/max z on AddBoxZone was nil. This resolves it by forcing the ox_target bridging to be used instead. --- bridge/compat/resources.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/compat/resources.lua b/bridge/compat/resources.lua index dcd1b3f..ef5dc11 100644 --- a/bridge/compat/resources.lua +++ b/bridge/compat/resources.lua @@ -4,5 +4,5 @@ return { xt_prisonjobs = (GetResourceState('xt-prisonjobs') == 'started'), randol_medical = (GetResourceState('randol_medical') == 'started'), - qb_target = (GetResourceState('qb-target') == 'started'), + qb_target = (GetResourceState('qb-target') == 'started' and GetResourceState('ox_target') ~= 'started'), } \ No newline at end of file