Client
All available exports for client-side
Every export that require interactOptions expect a table with the properties defined here:
InteractOptionsaddEntity
Creates an interaction with the specified entity
exports.fivecore_interact:addEntity(entity, interactOptions)entity:
numberinteractOptions:
table
removeEntity
Remove interaction with the specified entity=
exports.fivecore_interact:removeEntity(entity)addGlobalObject
Creates an interaction with all objects of the specified model hash
exports.fivecore_interact:addGlobalObject(modelHash, interactOptions)modelHash:
stringinteractOptions:
table
removeGlobalObject
Remove global interactions with the specified model hash
modelHash:
string
addMaterial
Creates an interaction with the specified collision material hash
materialHash:
numberinteractOptions:
table
removeMaterial
Remove material interactions with the specified collision material hash
materialHash:
number
disableTargeting
Enable/disable targeting with all registered interactions
state:
boolean
Last updated