TK_JAIL V2 (New and improved)
esx_tk_jail
[ Video ]
[ QBCore version ]
About
I would probably call this script one of the most advanced jailing script you can find. When in jail, players can search places, do 5 different jobs that will give you money or shorten your sentence and even escape from there. Script has been tested with ESX V1 Final, but should work with all ESX versions. If not, you can always contact me!
Features
- Well-optimized
- 0.00 ms | Idle
- 0.05 ms - 0.10 ms | In usage
- Uses FiveM Asset Escrow system, but if there is anything you would like to get changed or added to the editable file, contact me and I can probably change it!
- Highly customizable
- Change if the time will also pass when the player is offline
- Change items you can find
- Modify blips
- Change all coordinates
- & much more
- Usage
- /jail (id) (time) - put player in jail
- /lockup (id) (time) - put player in lockup
- /lockup1-5 (id) (time) - put player in lockup in a certain cell, eg. /lockup1 will place player in cell one (cells need to be set in config)
- /unjail (id) - unjail player
- Exports
- exports.esx_tk_jail:jailMenu()
- Opens the jailing menu
- exports.esx_tk_jail:lockUpMenu()
- Opens the menu where you can put people in lockup
- exports.esx_tk_jail:unjail()
- Unjail neareast player
- exports.esx_tk_jail:jail(targetId, time)
- Jail a player with the specified ID for a specified time
- exports.esx_tk_jail:jailMenu()
- How does it work? (watch video above for a good understanding)
- Police can jail, lockup or unjail players with commands or you can add the exports to your police job
- All player items will be taken from the player when he is jailed, and he can later take them back from a certain place
- Jail times will be stored in database and retrieved again, when the player connects back, you can also change if you want the time to pass also when the player is offline
- In jail and lockup, if player goes too far, he will be teleported back (can be turned off)
- In jail, there are 5 different jobs that the player can do
- By doing these jobs, player can earn money or shorten his sentence (can be changed in the config)
- The player can also search places around the jail where he can find stuff like phones and food
- There are also beds in the jail that will heal the player when slept in
- Player can also escape from the prison
- You will need an explosive and a handmade lighter that you can purchase from the NPC
- You can place the explosive on ground and light it, and after it blows up, you are free
- Police will get a notification, when a player escapes the prison
- [NEW] You can now set yourself a home cell
- [NEW] In your home cell, you have a personal stash where you can store your items and they will always stay there
- [NEW] New item
Jail cigarette
that is used to purchase different items from a NPC inside the jail- You can get jail cigarettes from doing tasks and searching places
- Instead of instantly getting an explosive and a handmade lighter from doing task, you’ll now gain jail cigarettes which you can use to purchase the explosive and handmade lighter for from the NPC
- Includes logs to Discord, if you set the webhook link in config
Requirements
Purchase (14.99€ + VAT)
My other work
- Advanced Boss Menu System
- Advanced Drug System and Drug Selling
- Housing System
- Purchasable Garages with Interiors, Furnishing & More
- Advanced Trunk and Glovebox System
- Advanced Mechanic Job And Tuning Menu (With UI)
- Advanced Bar / Restaurant Job
- Garage Robbery
- ESX Darkweb
- ESX Job GPS System (Police Blips)
- ESX Jewelry Store Robbery
- ESX Bullet Effects
- ESX Gang Areas
- ESX NPC Gang Camps
- ESX Advanced Shop Robbery
- ESX Evidence System & GSR Test
- ESX House Robbery
- ESX Player Owned Gas Stations
- ESX Sell Drugs - Advanced drug selling to NPCs
- ESX NPC Robbery