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
    • Back Items
    • Drag Craft
    • Item itemCarry

On This Page

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

removeEntity

Removes all existing interaction associated with a given network ID. this execludes global interactions.

Parameters

  • netId (number): The network ID of the entity whose interaction you wish to remove.

Example

-- To remove the interaction associated with this networked vehicle:
interact.removeEntity(networkId)

export

    exports.sleepless_interact:removeEntity(networkId)
removeLocalEntityremoveById

Sleepless