[ESX & QB] tk_jail - Prison System V2

Would you be willing to add qb-target support?

We will probably not be adding it ourself at least for now, the code for target is editable however

Update 1.2.7

  • Fix minor error on connecting
  • Allow jailing/unjailing by player identifier using exports

Update 1.2.8

  • Fix items not being removed when using jail export with identifier

Update 1.2.9

  • Add Config.TeleportOnUnjail

Update 1.3.0

  • Minor changes

Update 1.3.1

  • Minor fixes

Update 1.3.2

  • Add export getSentence
  • Add export seizeItems

Update 1.3.3

  • Minor improvements
  • Add export getJailedPlayers
  • Add Config.JailCigaretteItem

Update 1.3.4

  • Minor fixes

Update 1.3.5

  • Minor improvements

Update 1.3.6

  • Fix logs not being sent if player was jailed by server

First ! Very nice job ! We just bought it cause there was none like yours that we liked.

I was just wondering, there is a “send_fine” but it doesn’t do anything related to invoices or nothing at all actually x) Is it something coming ?

Thank you ! :smiley:

1 Like

Hey! Glad to hear you like the script!

And where exactly is this send_fine thing located? There shouldn’t be anything related to invoices in this script.

I don’t know if this help but here is a capture of all of the place where “send_fine” is mentioned.

There is a function that can be called and it has a translation, and it is mentioned in a lot of JS Files.

1 Like

Ohhh yeah. You can send a fine to a player in incidents → criminals → bottom right corner. To make this work you’ll have to edit FinePlayer in client/main_editable.lua to work with your server’s billing script.
kuva

is there a way for players to see the remaining time of their sentence?

/jailtime

Update 1.3.7

  • Fix chip seller ped not working when not jailed

Update 1.3.8

  • Fix reclaiming not working after latest updates