> For the complete documentation index, see [llms.txt](https://black-city-scripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://black-city-scripts.gitbook.io/docs/bc_vip/exports.md).

# Exports

Here you can find the script's 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)
