# Client Functions

## requestCustomSpot

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

```lua
exports.fivecore_looting:requestCustomSpot(spotId)
```

* spotId: `string`

## toggle

Enable or disable looting action from a player

```
exports.fivecore_looting:toggle(state)
```

* state: `boolean`
