> For the complete documentation index, see [llms.txt](https://tk-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://tk-scripts.gitbook.io/docs/tk_laptop.md).

# tk\_laptop

Features and requirements of Laptop, the in-game computer for FiveM servers.

Players get a desktop with notes, email, a browser, a calculator, Snake and their own background image. You choose the coordinates and models where it opens. It runs standalone or on ESX, QBCore and Qbox, and each app for another of our scripts works only when that script is installed.

[Advanced Laptop product page](https://tkscripts.com/scripts/laptop?utm_source=gitbook\&utm_medium=docs\&utm_content=laptop) | [Watch the showcase on YouTube](https://www.youtube.com/watch?v=8Z5ymEtpzHA) | [Install the laptop](/docs/tk_laptop/installation.md)

{% embed url="<https://www.youtube.com/watch?v=8Z5ymEtpzHA>" %}
Laptop showcase (3 min 52 s).
{% endembed %}

## Features

### Ways to open the laptop

* Open the laptop with an item or command
* Set specific coordinates or models as places to open the laptop

### Built-in apps

* Notes: rich text editor with text formatting and images; multiple note tabs with a title and content
* Browser app on the laptop desktop
* Calculator app on the laptop desktop
* Snake: leaderboard showing the top 10 scores and your top percentage
* Email: account system to set an email, password and profile picture, and use other people's accounts
* Email: messages have a rich text editor with formatting and images
* Settings: change the desktop background image

### Apps for our other scripts

* CCTV app: needs CCTV Camera System (tk\_cctv)
* Company app: needs Advanced Boss Menu V2 (tk\_bossmenu)
* Prison MDT app: needs Advanced Jail System V2 (tk\_jail)
* Boosting app: needs Vehicle Boosting (tk\_boosting)
* Blackmarket app: needs Darkweb System
* Darkweb app: needs Ownable Drug Labs

### Inventory, logs and languages

* Laptop metadata system for ox\_inventory (unique laptops; data is saved to the laptop item instead of the player)
* Supports ESX, QBCore, Qbox, ox\_lib and ox\_target, and works standalone
* Sends logs to Discord
* English and Finnish translations by default; everything can be translated

## Requirements

| Item      | Supported                                                                                           |
| --------- | --------------------------------------------------------------------------------------------------- |
| Framework | Standalone, ESX, QBCore, Qbox                                                                       |
| Database  | None. Notes, emails and scores are saved in the server's key-value store.                           |
| Inventory | ox\_inventory, qb-inventory, ESX's own inventory. One data set per laptop item needs ox\_inventory. |
| Target    | ox\_target (optional)                                                                               |
| Languages | English, Finnish                                                                                    |

Each app for another script needs that script, sold separately: [tk\_cctv](/docs/tk_cctv.md), [tk\_bossmenu](/docs/tk_bossmenu.md), [tk\_jail](/docs/tk_jail.md), [tk\_boosting](/docs/tk_boosting.md), Darkweb System and Ownable Drug Labs. Every optional resource and its setting: [Laptop installation](/docs/tk_laptop/installation.md#requirements).

## Start here

* [Install the laptop](/docs/tk_laptop/installation.md)
* [Update without losing your config](/docs/tk_laptop/installation.md#update-without-losing-your-config)
* [Set up items, locations and apps](/docs/tk_laptop/config.md)
* [Connect other resources with the exports](/docs/tk_laptop/exports.md)
* [Fix common problems](/docs/tk_laptop/common-problems.md)

Support: open a ticket in the [TK Scripts Discord](https://discord.gg/YndnF9tkqu).
