Target
DisableTarget
Disables target
Target.DisableTarget(state)- state :
boolean
AddGlobalObject
Create Global Object Target
Target.AddGlobalObject(options)- options : Options[]
RemoveGlobalObject
Remove Global Object Target
Target.RemoveGlobalObject(labels)- labels :
string | string[]
AddGlobalPed
Create Global Ped Target
Target.AddGlobalPed(options)- options : Options[]
RemoveGlobalPed
Remove Global Ped Target
Target.RemoveGlobalPed(labels)- labels :
string | string[]
AddGlobalPlayer
Create Global Player Target
Target.AddGlobalPlayer(options)- options : Options[]
RemoveGlobalPlayer
Remove Global Player Target
Target.RemoveGlobalPlayer(labels)- labels :
string | string[]
AddGlobalVehicle
Create Global Vehicle Target
Target.AddGlobalVehicle(options)- options : Options[]
RemoveGlobalVehicle
Remove Global Vehicle Target
Target.RemoveGlobalVehicle(labels)- labels :
string | string[]
AddModel
Create Model Target
Target.AddModel(models, options)- models :
number | string | table<number | string> - options : Options[]
RemoveModel
Remove Model Target
Target.RemoveModel(models, labels)- models :
number | string | table<number | string> - labels :
string | string[]
AddEntity
Create Entity Target
Target.AddEntity(entities, options)- entities :
number | table - options : Options[]
RemoveEntity
Remove Entity Target
Target.RemoveEntity(entities, labels)- entities :
number | table - labels :
string | string[]
AddBone
Create Bone Target
Target.AddBone(bones, options)- bones :
string | table - options : Options[]
RemoveBone
Remove Bone Target
Target.RemoveBone(bones, labels)- bones :
string | table - labels :
string | string[]
RemoveZone
Removes a target zone
Target.RemoveZone(id)- id :
number | string