mirror of
https://github.com/jimathy/jim-payments.git
synced 2026-08-19 07:16:03 +01:00
Fix support for older versions of qb-target
This commit is contained in:
@@ -47,7 +47,7 @@ CreateThread(function()
|
|||||||
local gang = nil
|
local gang = nil
|
||||||
if v[i].gang then job = nil gang = k end
|
if v[i].gang then job = nil gang = k end
|
||||||
Targets["CustomRegister: "..k..i] =
|
Targets["CustomRegister: "..k..i] =
|
||||||
exports['qb-target']:AddBoxZone("CustomRegister: "..k..i, v[i].coords, 0.47, 0.34, { name="CustomRegister: "..k..i, heading = v[i].coords[4], debugPoly=Config.Debug, minZ=v[i].coords.z-0.1, maxZ=v[i].coords.z+0.4 },
|
exports['qb-target']:AddBoxZone("CustomRegister: "..k..i, v[i].coords.xyz, 0.47, 0.34, { name="CustomRegister: "..k..i, heading = v[i].coords[4], debugPoly=Config.Debug, minZ=v[i].coords.z-0.1, maxZ=v[i].coords.z+0.4 },
|
||||||
{ options = { { event = "jim-payments:client:Charge", icon = "fas fa-credit-card", label = "Charge Customer", job = job, gang = gang, img = "" }, },
|
{ options = { { event = "jim-payments:client:Charge", icon = "fas fa-credit-card", label = "Charge Customer", job = job, gang = gang, img = "" }, },
|
||||||
distance = 2.0 })
|
distance = 2.0 })
|
||||||
if v[i].prop then
|
if v[i].prop then
|
||||||
|
|||||||
Reference in New Issue
Block a user