Overview
The laptop players put down and use, which other scripts add their apps and USB devices to. What it is, how to get it and what it needs.
On this page
The Laptop (tr_laptop) is a laptop players set down anywhere (a table, the ground, a car's bonnet) and use with the third eye. Its browser finds the apps other scripts add, players download them from their websites and run them in windows on its desktop. USB devices, like a card skimmer on a cable, plug into its two ports.
On its own it comes with a browser, a file manager, a Terminal, a text editor and Settings. Everything else is added by other resources, like Fraud Scamming.
What it does
- Every laptop is its own. Each one has a serial number. Its apps, its plugged-in devices and what apps keep on it belong to that laptop and go wherever it goes.
- A password. The first time a laptop is opened it boots into a short setup: the name it logs in as and a password (or none). A stolen laptop stays locked. The only way past a forgotten password is erasing it, which deletes its apps and everything saved on it.
- It stays put. A laptop that's been put down stays there through restarts until someone picks it up.
- Two systems. iFruitOS, with the Mac's look, or LeafOS, with Windows 11's. New laptops come with iFruitOS, and players can switch in Settings.
- Apps from the web, or off it. Apps are found by searching in the browser and downloaded from their own websites. Apps the open web shouldn't have are downloaded with a command in the Terminal instead.
- Files. Players can write text files, keep them in folders and send them to a laptop nearby.
See Using the laptop for how it plays.
Requirements
| What | Version |
|---|---|
| tr_core | 1.4.0 or newer (free) |
| oxmysql | Any recent version |
| Framework | ESX, QBCore or Qbox |
| Inventory | ox_inventory or qb-inventory |
| Target | ox_target or qb-target |
tr_core finds your framework, inventory and target by itself. With a tr_core older than this, the server console says so when the Laptop starts.
The item
| Item | What it's for |
|---|---|
tr_laptop | The laptop. Each one has its own serial number, and a lost or stolen laptop takes its apps, devices and files with it |
It isn't called laptop, because QBCore and many heist scripts already have an item by that name. Its picture is in install/images. Devices are items of their own, added by the scripts that use them.
Making apps for it
An app is a web page in your own resource and a few server functions; a device is an item and a prop. See Adding apps, Adding devices and Exports and events.
Still stuck? Open a ticket on Discord.Privacy