Sleepless
Support UsSupport Us (opens in a new tab)
GitHubGitHub (opens in a new tab)DiscordDiscord (opens in a new tab)
  • Introduction
  • Interact v1
      • addCoords
      • addLocalEntity
      • addEntity
      • addGlobalModel
      • addGlobalPlayer
      • addGlobalPed
      • addGlobalVehicle
      • removeLocalEntity
      • removeEntity
      • removeById
      • removeGlobalModel
      • removeGlobalPlayer
      • removeGlobalPed
      • removeGlobalVehicle
  • Interact v2
      • Interact Options
        • addCoords
        • addLocalEntity
        • addEntity
        • addModel
        • addGlobalObject
        • addGlobalPlayer
        • addGlobalPed
        • addGlobalVehicle
        • removeCoords
        • removeLocalEntity
        • removeEntity
        • removeModel
        • removeGlobalObject
        • removeGlobalPlayer
        • removeGlobalPed
        • removeGlobalVehicle
        • disableInteract
  • Ped Manager
      • addPed
  • Waypoints
      • create
      • update
      • remove
      • removeAll
      • get
      • create
      • update
      • remove
      • removeAll
      • removeForPlayer
      • get
      • getAll
      • getForPlayer
  • Inventory Addons
    • Back Items
    • Drag Craft
    • Item Carry

On This Page

  • Parameters
  • Example
Question? Give us feedback → (opens in a new tab)Edit this page
Interact v1
client
removeLocalEntity

removeLocalEntity

Removes all existing interaction associated with a given entity handle for a non networked entity. this execludes global interactions.

Parameters

  • entity (number): The entity handle of the local entity whose interaction you wish to remove.

Example

-- To remove the interaction for this local entity, use its handle:
interact.removeLocalEntity(entityHandle)
addGlobalVehicleremoveEntity

Sleepless