esx-community / esx_jail

Let cops jail people, an FiveM project
36 stars 36 forks source link

Bug with /unjail #10

Closed HumanTree92 closed 6 years ago

HumanTree92 commented 6 years ago

There is a bug where say you jail a player through the F6 Menu or /jail. When they are jailed for say 5mins (300secs) then you /unjail them the timer still counts down and will go negative like -1125. But when they die the timer goes away. Then when you jail them again for 5mins (300secs) the timer will start at -1125 & countdown to -1425 then it will release them. Then when we jail them again for 5mins (300secs) it will start off at -1425 & does the same thing over & over again. There is no fix that we can tell.

ElPumpo commented 6 years ago

Fixed in proposed PR