# Exports

## Server side

```lua
exports["bc_vip"]:AddVIPToPlayer(id, bundle, time)
```

* **parameters**
  * **id**: number (player server id)
  * **bundle:** string (from Config.Bundles)
  * **time:** number (in seconds)
* **return**
  * **bool**

```lua
exports["bc_vip"]:RemoveVIPFromPlayer(id)
```

* **parameters**
  * **id**: number (player server id)
* **return**
  * **bool**

```lua
exports["bc_vip"]:GetPlayerVIP(id)
```

* **parameters**
  * **id**: number (player server id)
* **return**
  * **false / string** (the vips bundle from Config.Bundles)

```lua
exports["bc_vip"]:AddTimeToVIPPlayer(id, time)
```

* **parameters**
  * **id**: number (player server id)
  * **time:** number (in seconds)
* **return**
  * **bool**

```lua
exports["bc_vip"]:AddXPToPlayer(id, count)
```

* **parameters**
  * **id**: number (player server id)
  * **count:** number&#x20;
* **return**
  * **bool**

## Client side

```lua
exports["bc_vip"]:OpenVIPMenu()
```

* **return**
  * **bool**

```lua
exports["bc_vip"]:IsVIP()
```

* **return**
  * **false / string** (the vips bundle from Config.Bundles)
