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

# Exports

Exports with args and returns.

***

## Shared exports (server and client)

### GetRCCarData(name)

Retrieves data for a specific RC car.

```lua
exports.mr_rccars:GetRCCarData(name)
```

#### **Arguments:**

* `name` (string) – The name of the RC car.

#### **Returns:**

* (table) – A table containing the car's data, including:
  * `model` (string) – Model of the car.
  * `vehicle` (table) – Vehicle data.
  * `diesel`(boolean) - Enable diesel engine sound&#x20;
  * `camera` (boolean) - Enable extra camera
  * `range` (int) - Value of max range (1-3)
  * `price` (int) - Vehicle price

### GetPlayerOwnedRCCar(id)

Retrieve list of all vehicles owned by the player

```lua
exports.mr_rccars:GetPlayerOwnedRCCar(id)
```

#### **Arguments:**

* `id` (int) – Player ID

#### **Returns:**

* (table) – A table containing all active RC cars, each entry includes:
  * `owner` (string) – Player Identifier.
  * `name` (string) – Name of the car.
  * `model` (string) – Model of the car.
  * `vehicle` (table) – Vehicle data.
  * `diesel`(boolean) - Enable diesel engine sound&#x20;
  * `camera` (boolean) - Enable extra camera
  * `range` (int) - Value of max range (1-3)
  * `price` (int) - Vehicle price
