Fivecore
  • Fivecore - FiveM Scripts
  • Discord
  • General
    • Common issues
  • RESOURCES
    • Zombies
      • Installation
      • Usage
      • Functions
        • Server Functions
      • Events
        • Server Events
    • Looting
      • Installation
      • Setup
      • Events
        • Server Events
      • Functions
        • Client Functions
        • Server Functions
      • Loot editor
    • NPC Dialogs
      • Installation
      • Usage
      • Extras
    • Dynamic Guides
      • Installation
      • Usage
    • Interact
      • Installation
      • Usage
      • InteractOptions
      • Functions
        • Client
Powered by GitBook
On this page
  • requestCustomSpot
  • toggle
  1. RESOURCES
  2. Looting
  3. Functions

Client Functions

requestCustomSpot

Requests to open a loot spot created with the server side function createCustomSpot

exports.fivecore_looting:requestCustomSpot(spotId)
  • spotId: string

toggle

Enable or disable looting action from a player

exports.fivecore_looting:toggle(state)
  • state: boolean

PreviousFunctionsNextServer Functions

Last updated 5 months ago