Playing it#
- Get a tablet and use it, or type
/tabletwhile carrying one. Start or join a crew on the Crew tab. - Find the contacts. Talk to one in person and they start messaging you. Their location shows once your trust reaches
Config.ContactDiscovery.revealTrust(50 by default). - Claim a contract (the crew role needs
claim), press Start and pick who takes part. Tablet missions start once everyone confirms. Robberies start at the location. - Get paid in dirty money, REP, crew REP and trust. Wash it at a laundering spot, spend it at the Fence or the van.
- A Boss or Lieutenant of a verified crew draws turf on the map.
Pay out in clean cash#
-- config/economy.lua
Config.Economy.payoutAccount = 'cash'
-- config/general.lua
Config.Features.laundering = false
Let regular admins into the Admin tab#
add_ace group.admin command.criminaltabletadmin allow
add_ace group.mod command.criminaltabletadmin allow
Require a burner phone#
-- config/general.lua
Config.BurnerPhoneItem = 'glitch_burner_phone'
The player must also carry that item to open the tablet. Use an item that exists in your inventory.
Switch off the optional writes outside the tablet's tables#
-- config/turf.lua
Config.Turf.gangTie.allowCustom = false -- admins can only pick gangs that already exist
-- Config.Turf.gangTie.enabled = false -- or turn the gang tie off completely
-- config/blackmarket.lua
Config.BlackMarket.phone.enabled = false -- default is 'auto' (on while sd-phone runs)
Report a finished robbery#
From your robbery script, on the server:
TriggerEvent('glitch_criminaltablet:reportJobComplete', {
jobId = 'store_rob', -- an id from Config.Jobs
participants = { src1, src2 }, -- server ids
locationId = 'store_rob_straw', -- the contract id (needed while requireContract = true)
coords = vector3(x, y, z), -- optional; defaults to the contract's coords (for turf)
evidenceClean = true, -- optional: clean-run bonus and streak
skipPayout = true, -- optional: your script already paid
customPayout = 4500, -- optional: exact pay per player (heat penalty applies)
items = { { item = 'rolex', count = 2 } }, -- optional extra items
})
The tablet pays (unless skipPayout), adds REP, heat, crew REP, contact trust and turf, sets cooldowns and frees the contract. If the crew does not hold that contract, nobody is credited.
Check the contract before the robbery starts#
if not exports['glitch-criminaltablet']:HasActiveContract(source, 'store_rob_straw') then return end
Add your own contract sites#
-- Call again whenever glitch-criminaltablet restarts
exports['glitch-criminaltablet']:RegisterContractLocations({
{ id = 'ship_t1_01', jobId = 'shipment_t1', name = 'Dock Yard', coords = vector3(0.0, 0.0, 0.0), weight = 1 },
}, { shipment_t1 = 3 })
jobId must exist in Config.Jobs. The second argument sets how many sites per job are live at once.
Honour the testing bypass#
-- server
if exports['glitch-criminaltablet']:HasAdminBypass(source, 'police') then
-- skip your own police count check
end
Pay and charge dirty money#
local have = exports['glitch-criminaltablet']:GetDirtyMoney(source)
if have >= 500 then
exports['glitch-criminaltablet']:TakeDirtyMoney(source, 500)
end
Testing checklist#
- Restart
ox_inventory(items), then this resource. Look forWARNINGlines. - Give yourself a
glitch_tablet, use it, create a crew. - Find the Fixer, claim a courier contract, press Start, then pick up and deliver. Check your
black_money, REP and trust. - Claim a boost from the Mechanic, find the car, break in and deliver it.
- Visit the Fence (buy and sell) and a laundering spot (start a load, wait, collect).
- As on-duty police, use another character's upgraded tablet: the evidence view shows. Turn on disguise or wipe the history and try again.
Stuck on a step?Ask in the Discord →