Lib.addInteractionEntity
It is used to add interactions to a given entity
entity:
number
data:
table
distance:
number
squareDistance:
number
ornil
(optional for is_interaction)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