local sampev = require('lib.samp.events')
function sampev.onDisplayGameText(style, time, text)
if style == 3 and time == 1000 and text:find("~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~Jailed %d+ Sec%.") then
local c, _ = math.modf(tonumber(text:match("Jailed (%d+)")) / 60)
return {style, time, string.format("~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~Jailed %s Sec = %s Min.", text:match("Jailed (%d+)"), c)}
end
end