-- Example 1: Removing All Interactionsexports["is_interaction"]:removeLocalEntity(entity)-- Example 2: Removing provided Interactionexports["is_interaction"]:removeLocalEntity(entity, "testText")-- Example 3: Removing provided Interaction Optionexports["is_interaction"]:removeLocalEntity(entity, "testText", "option1")
-- Example 1: Hiding All Interactions for specified Local Entityexports["is_interaction"]:hideLocalEntity(entity)-- Example 2: Hiding Interaction for specified Local Entityexports["is_interaction"]:hideLocalEntity(entity, "testText")-- Example 3: Showing All Interactions for specified Local Entityexports["is_interaction"]:showLocalEntity(entity)-- Example 4: Showing Interaction for specified Local Entityexports["is_interaction"]:showLocalEntity(entity, "testText")
Model
The Interactions can only be invoked on the Client-Side!
-- Example 1: Removing All Interactionsexports["is_interaction"]:removeModel(model)-- Example 2: Removing provided Interactionexports["is_interaction"]:removeModel(model, "testText")-- Example 3: Removing provided Interaction Optionexports["is_interaction"]:removeModel(model, "testText", "option1")
Hiding/Showing Model
exports["is_interaction"]:hideModel(model, name)
exports["is_interaction"]:showModel(model, name)
model: hash
name: string or nil
Example Usage
-- Example 1: Hiding All Interactions for specified Modelexports["is_interaction"]:hideModel(model)-- Example 2: Hiding Interaction for specified Modelexports["is_interaction"]:hideModel(model, "testText")-- Example 3: Showing All Interactions for specified Modelexports["is_interaction"]:showModel(model)-- Example 4: Showing Interaction for specified Modelexports["is_interaction"]:showModel(model, "testText")
Global Entities
The Interactions can only be invoked on the Client-Side!
-- Example 1: Removing All Interactionsexports["is_interaction"]:removeGlobal(select)-- Example 2: Removing provided Interactionexports["is_interaction"]:removeGlobal(select, "testText")-- Example 3: Removing provided Interaction Optionexports["is_interaction"]:removeGlobal(select, "testText", "option1")
-- Example 1: Hiding All Interactions for specified Global Entitiesexports["is_interaction"]:hideGlobal(select)-- Example 2: Hiding Interaction for specified Global Entitiesexports["is_interaction"]:hideGlobal(select, "testText")-- Example 3: Showing All Interactions for specified Global Entitiesexports["is_interaction"]:showGlobal(select)-- Example 4: Showing Interaction for specified Global Entitiesexports["is_interaction"]:showGlobal(select, "testText")
Coordinates
The Interactions can only be invoked on the Client-Side!
-- Example 1: Removing All Interactionsexports["is_interaction"]:removeCoords(coords)-- Example 2: Removing provided Interactionexports["is_interaction"]:removeCoords(coords, "testText")-- Example 3: Removing provided Interaction Optionexports["is_interaction"]:removeCoords(coords, "testText", "option1")
-- Example 1: Hiding All Interactions at specified Coordinatesexports["is_interaction"]:hideCoords(coords)-- Example 2: Hiding Interaction at specified Coordinatesexports["is_interaction"]:hideCoords(coords, "testText")-- Example 3: Showing All Interactions at specified Coordinatesexports["is_interaction"]:showCoords(coords)-- Example 4: Showing Interaction at specified Coordinatesexports["is_interaction"]:showCoords(coords, "testText")
Misc
The Interactions can only be invoked on the Client-Side!
-- Example 1: Removing Interactions in specified resourceexports["is_interaction"]:removeResource("qb-shops")-- Example 2: Removing Interactions in current resourceexports["is_interaction"]:removeResource()