TK Scripts
  • Welcome
  • Common questions
  • Common problems
  • esx_tk_mechanicjob
    • Common questions & problems
  • tk_bosstablet
    • Common questions & problems
  • tk_jail
    • Common questions & problems
    • Exports
      • Client
      • Server
  • tk_laptop
    • Common Problems
    • Config
    • Exports
      • Client
      • Server
  • tk_mdt
    • Fivemanage setup (for images)
    • Common questions & problems
    • Config
    • Exports
      • Client
      • Server
  • tk_dispatch
    • Setup
    • Common Problems
    • Config
    • Exports
      • Client
      • Server
  • tk_housing
    • Setup
    • Common Problems
    • Config
    • Exports
      • Client
      • Server
  • tk_drugs
    • Common Questions & Problems
    • Config
  • tk_zipline
    • Config
  • tk_houserobbery
    • Config
  • tk_evidence
    • Config
    • Exports
      • Client
      • Server
  • tk_policejob
    • Config
    • Exports
      • Client
      • Server
Powered by GitBook
On this page
  • What MLO should be used?
  • Character keeps teleporting when jailed
  • ERROR: Unknown column 'x' in 'field list'
  1. tk_jail

Common questions & problems

Previoustk_jailNextExports

Last updated 4 months ago

What MLO should be used?

By default the coords are setup for Gabz . However, you are able to edit all the coords in config to work with any MLO.

Character keeps teleporting when jailed

Open config.lua, go to Config.Coords, look for distanceChecks and edit the coords or/and distance to work with your prison MLO.

ERROR: Unknown column 'x' in 'field list'

Ensure you’ve imported the SQL file into your server’s database. The file contains two separate SQLs: one for ESX and one for QB. If you’re using QB and encounter this error, make sure you only run the QB SQL:

ALTER TABLE `players`
	ADD COLUMN `jail_items` LONGTEXT NULL,
	ADD COLUMN `jail_time` BIGINT(20) NULL,
	ADD COLUMN `jail_type` VARCHAR(50) NULL,
	ADD COLUMN `jail_cell` INT(11) NULL
;
Bolingbroke Prison