what script you used? is that free may i ask? hehehe
Made it myself! Itâs part of the prisons system.
However, I have been contemplating making my core folder into a seperate release so other developers can use it in their releases as a dependency.
Only reason why I havenât is because I donât want to have to require two dependencies for every release, I like how simple it is to install my resources currently.
The default config uses the Gabz Prison MLO.
However it is very easy to change the coordinates for whichever location you want to add your prisons at.
wow thats nice!!
What a nice script <3
Hey Pickle! looks delicious! Is there anything that stops people from climbing the fence and escaping without finishing a sentence? like sends them back to jail after X distance from the prison if they havenât done the script breakout or time.
He shows me that of the console
[script:pickle_prison] SCRIPT ERROR: @pickle_prisons/modules/prison/server.lua:205: attempt to index a nil value (field â?â)
AddEventHandler(âplayerDroppedâ, function()
local source = source
local identifier = GetIdentifier(source)
MySQL.Async.execute(âUPDATE pickle_prisons SET time=@time WHERE identifier=@identifierâ, {
[â@identifierâ] = identifier,
[â@timeâ] = Prisoners[source].time,
})
end)
Does this work with only pembroke or are other prisons, jails & cells supported.
Currently people can break out if the prison doesnât hold them in.
This was allowed to support lock-picking doors.
However, Iâll be introducing a config option to teleport them back in when no breakout is in progress.
This will also be fixed in this update
Works with any configuration youâd like to use!
Should that already be fixed in 1.0.1 because we have it on it
Hopefully my wish become true in the update!
Damm thats so good script.
hi, while im trying to upload sql - im getting error â#1101 - Blob field âinventoryâ cannot have default valueâ, how to fix it?
Youâre likely using an older version of MySQL, it is recommended to use MariaDB.
However if you canât do that, use this query instead:
CREATE TABLE IF NOT EXISTS `pickle_prisons` (
`identifier` varchar(46) NOT NULL,
`prison` varchar(50) DEFAULT 'default',
`time` int(11) NOT NULL DEFAULT 0,
`inventory` longtext NOT NULL,
`sentence_date` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
Update v1.1.0
-
Jail Dialog to send people to prison (/jailmenu)
-
Added Config.EnableSneakout to enable/disable escaping without breaking out.
-
Added Additional German Translation for this Update thanks to @JeyCraft!
-
Fixed time decrease issue.
-
Fixed playerDropped issue.
Download the new update here: Releases ¡ PickleModifications/pickle_prisons ¡ GitHub
getting still the same error ;/