Lib.addInteractionCoords
it is used to add interactions on given coordinates, for ox_target and qb-target it uses the zone box in a given place
name:
string
coords:
vector3
data:
table
distance:
number
squareDistance:
number
ornil
(optional for is_interaction)boxLength:
number
ornil
(optional for ox_target and qb-target)boxWidth:
number
ornil
(optional for ox_target and qb-target)boxHeight:
number
ornil
(optional for ox_target and qb-target)boxHeading:
number
ornil
(optional for ox_target and qb-target)debugPoly:
bollean
ornil
(optional for ox_target and qb-target)hideSquare:
boolean
ornil
(optional for is_interaction)checkVisibility:
boolean
ornil
(optional for is_interaction)showInVehicle:
boolean
ornil
(optional for is_interaction)offset:
table
ornil
(optional for is_interaction)text:
table
target:
table
options:
table
option:
indexed table
name:
string
icon:
string
label:
string
key:
string
ornil
(optional for is_interaction)duration:
number
ornil
(optional for is_interaction)onSelect:
function
Last updated