Adjust ox/qb target name creation

This commit is contained in:
Jim Shield
2024-02-14 00:11:08 +00:00
committed by GitHub
parent 42b109a5f1
commit 5e3ace804d
2 changed files with 560 additions and 560 deletions

View File

@@ -491,7 +491,7 @@ function createBoxTarget(data, opts, dist)
local options = { options = opts, distance = dist }
local target = exports[QBTargetExport]:AddBoxZone(data[1], data[2], data[3], data[4], data[5], options)
boxTargets[#boxTargets+1] = target
return target
return data[1]
else
local tempText = ""
local keyTable = { 38, 29, 303, }
@@ -540,7 +540,7 @@ function createCircleTarget(data, opts, dist)
local target = exports[QBTargetExport]:AddCircleZone(data[1], data[2], data[3], data[4], options)
circleTargets[#circleTargets+1] = target
return target
return data[1]
else
local tempText = ""
local keyTable = { 38, 29, 303, }