Installation
Install GKS Tablet — database, framework, inventory, media upload, and start order.
gks-tablet ships inside the GKSPHONE V2 download, in the same [phone] folder. If you have already followed GKSPHONE Installation, the files are in place — only the steps below are specific to the tablet.
Import the database
The tablet has no auto-setup. Config.DatabaseAutoSetup on the phone does not cover it, so import the schema by hand:
gks-tablet/install.sqlImport install.sql and nothing else. Three other .sql files sit next to it and each one is a partial set — tablet.sql creates only the 4 core tables and no MDT at all, tablet_mdt.sql only the MDT ones, and tablet_setup_complete.sql is missing the three permission tables. install.sql is the complete 23-table schema.
Set the framework
In gks-tablet/config/config.lua:
Config.Framework = "auto" -- esx | qb | qbx | standalone | autoKeep it matched to whatever you set on the phone.
Set the inventory
Config.InventoryScript = "auto" -- auto | ox_inventory | noneThe tablet supports ox_inventory only. The phone's other adapters — qb, qs, tgiann, core — do not exist here. auto picks ox_inventory when it is running, otherwise nothing. For any other inventory you need to write an adapter: Custom Inventory.
Decide how it opens
By default the tablet needs no item and opens with a key or command:
Config.TabletItemRequire = false -- true: an inventory item is required
Config.TabletItemName = "tablet"
Config.TabletCommand = "tablet" -- /tablet
Config.TabletKey = "F7"
Config.TabletKeyEnabled = true -- false: item-only, no key and no commandTurning TabletItemRequire on means adding a tablet item to ox_inventory as well.
Add media upload tokens
The Camera and Gallery apps upload through an external host, configured in gks-tablet/config/serverconfig.lua exactly like the phone's:
Cfg.MediaService = "fivemanage" -- "gksmedia" | "fivemanage" | "customMedia"
Cfg.AuthTokenImage = ""
Cfg.AuthTokenAudio = ""
Cfg.AuthTokenVideo = ""This is a separate file from the phone's — filling in gksphone/config/serverconfig.lua does not configure the tablet. Photos silently fail if these are left empty.
Add it to server.cfg
oxmysql first, and the phone before the tablet if you run both:
ensure oxmysql
ensure es_extended # or qb-core / qbx_core
ensure ox_inventory
ensure [phone] # covers gksphone and gks-tablet togetherKeeping both in [phone] means one ensure line. Starting them separately works too, as long as oxmysql is up first.
Start and check
- The console shows
gks-tabletstarting with no red errors. gks_tabletand thegks_mdt_*tables exist in your database.- F7 or
/tabletopens it. - A police-jobbed character sees the Police MDT; everyone else does not.
- Taking a photo in the Camera app produces an image.

