[Release] IRL jail time jailer - esx_jb_realtimejailer

police
esx
jail

#102

Police client menu :grin:


#103

but i cant unjail? i only get up a box that i need to put how many hours to jail someone


#104

Like this?

– TriggerServerEvent(‘esx_jb_jailer:PutInJail’, playerid, data3.current.value, tonumber(jailtime)6060)

TriggerServerEvent(‘esx_jb_jailer:PutInJail’, playerid, data3.current.value, tonumber(jailtime)*60)


#105

Yes indeed that is what you need to edit :blush::blush:


#106

when i try jail one they are myself it will be jail if the other jail one is also me why do it it


#107

Dont understand you… :joy:


#108


#109

like most people here pay attention if you got new or old policejob … and adapt the script


#110

dose not change clothes back apon release…



#111

fixed it pice of code was missing


#112

What was missing? I can fix problem for all others


#113

oh yea sure thing RegisterNetEvent("esx_jb_jailer:UnJail") AddEventHandler("esx_jb_jailer:UnJail", function() IsPlayerUnjailed = true GetBackOriginalClothes() end)

the getbackoriginalclothes() was missingfrom this unjail line

this is how it should look and it functions


#114

thanks for the fix, i did push it immediatly


#115

I have no error showing on the console, but soon after a person leaves the chain will make their rp and displaces the server when it re-enters the server it returns to the dp, as if it was just out of jail, wanted to find a solution, can someone help me?


#116


Now it happened


#118

another issue i found and i dont this is right. when u log in after ur jail time has expired it does not unjail u and move u out of the prison or sell
it keeps u where u are and i think its because of this



i changed mine to this but have not tested it yet


#119

Does not work, back to front of dp anyway, I have this same problem …


#120

any errors ? :slight_smile:


#121

Yes, when you enter the server soon after finishing a penalty you return to the place of exit from the chain, every time … That is the problem …


#122

explain more clearly, becasue i don’t understand what you want to say …