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

On This Page

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

removeGlobalPlayer

Removes global player interaction options.

Parameters

  • options (string | string[]): Option name(s) to remove

Example

-- Using interact namespace
interact.removeGlobalPlayer("player_trade")
 
-- Using export
exports.sleepless_interact:removeGlobalPlayer("player_trade")
removeGlobalObjectremoveGlobalPed

Sleepless