# Client(exports)

#### `OpenPerksMenu`

Opens The perks Menu

```lua
exports.offload_perks:OpenPerksMenu()
```

####

#### `HasUnlockedPerk`

Checks if the local player has a specific perk unlocked.

**Syntax**

```lua
local hasPerk = exports.offload_perks:HasUnlockedPerk(perkName)
```

**Parameters**

| Parameter  | Type     | Required | Description                    |
| ---------- | -------- | -------- | ------------------------------ |
| `perkName` | `string` | **Yes**  | The internal name of the perk. |

**Returns** true or false

#### `HasUnlockedPerks`

Checks multiple perks at once.

**Syntax**

```lua
local results = exports.offload_perks:HasUnlockedPerks({'hacker_basic', 'diy_basics'})
local results = exports.offload_perks:HasUnlockedPerks('hacker_basic')
```

**Parameters**

| Parameter   | Type              | Required | Description                      |
| ----------- | ----------------- | -------- | -------------------------------- |
| `perkNames` | `table or string` | **Yes**  | An array of perk names to check. |

**Returns**

* `table`: A key-value table where keys are perk names and values are booleans.

  ```lua
  {
      ['diy_basics'] = true,
      ['advanced_crafting'] = false
  }
  ```
* `string`: returns true of false.
