Studios
Criminal Tablethouse-3.jpg

Troubleshooting

SoonCriminal TabletQbox
PAGE 05 OF 08  ·  EXAMPLES → TROUBLESHOOTING → COMMANDS & EXPORTSdocs.glitchstudios.dev
Browse docs
Problem Check
Using the tablet item does nothing The item needs server = { export = 'glitch-criminaltablet.useTablet' } in ox_inventory/data/items.lua, and ox_inventory has to be restarted after you add it. The console warns at start when the item is missing
"Open your tablet first" when pressing a button The server has no tablet session for that player. Close the tablet and open it again with the item. Check the player still carries it. Config.TabletSessionCheck = false turns the check off
"This tablet is paired to someone else" A tablet is paired to the first character who uses it. Give the other player a fresh item
/tablet says you need a tablet Config.CommandRequiresItem is on and the player has no tablet of their own
Nobody gets the Admin tab Give staff one of the aces in Config.AdminAces, for example add_ace group.admin command.criminaltabletadmin allow, and make sure they are in that group
A robbery paid nothing The robbery script must send glitch_criminaltablet:reportJobComplete with the contract's locationId, and the crew must hold that contract
Can't claim a contract The crew role lacks claim, REP or trust is too low, too few police are on duty, the crew already holds a contract, or the job's script is not started
A contact is not in the tablet or has no blip Contacts stay hidden until a player meets them in person. Their location only shows once trust reaches revealTrust. The Fixer never gets a blip
NPCs float, or the wash machines hang in the air Adjust the coordinates in config/contracts.lua. The wash network needs the G&N Illegal Maps and Warehouses MLOs; set Config.WashNetwork.enabled = false without them
The tablet will not open for a crew member The crew talkie check is on (glitch-bridge and glitch-admin running) and their crew has a Discord talkie set. They have to be in that voice channel, or set Config.CrewVoice.enabled = false
Nobody can clean dirty money Laundering is off while Config.Economy.payoutAccount is 'dirty'. Turn laundering on or pay out in 'cash' or 'bank'
Lockup won't open Config.Crews.stashAccess = 'turf' means the player must stand inside turf their crew owns. The lockup also needs Config.Features.crewStash = true
Car pictures are blank Config.VehicleImageUrl points at an external host. Set it to a host you control. The tablet then tries the FiveM docs picture, then draws an outline
Tables are missing Your database user cannot create tables. Run install/glitch_criminaltablet.sql once
"No such export" Use exports['glitch-criminaltablet'] with a hyphen. Event names use an underscore (glitch_criminaltablet:)