Fearless Forums
Missing jail timer - Printable Version

+- Fearless Forums (https://fearlessrp.net)
+-- Forum: CityRP Server (https://fearlessrp.net/forumdisplay.php?fid=6)
+--- Forum: Bugs (https://fearlessrp.net/forumdisplay.php?fid=128)
+---- Forum: Fixed/Closed (https://fearlessrp.net/forumdisplay.php?fid=129)
+---- Thread: Missing jail timer (/showthread.php?tid=79938)



Missing jail timer - DVN - 04-23-2017

Title of bug
Missing jail timer

Description
I understand that some are already aware of this but I wanted to make an actual post to ensure this gets fixed. Since the update the jail timer has disappeared, a real pain for everyone really not knowing how long you have left.


RE: Missing jail timer - Loco in Acapulco - 04-23-2017

For any developer that want to fix this, this is how:

in the file sv_player.lua
add:
Code:
player:SetNSVar("cityrp_UnarrestTime", CurTime() + ArrestTime)
under:
Code:
cityrp.player.setLocalPlayerVariable(player, CLASS_LONG, "_UnarrestTime", CurTime() + ArrestTime);



RE: Missing jail timer - DarkN00b - 04-24-2017

SHOULD work now...


RE: Missing jail timer - DarkN00b - 04-25-2017

Since nobody said a thing, fixed