Missing jail timer
#1
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.
#2
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);
The following 7 users Like Loco in Acapulco's post:
  • DarkN00b, Robbtja, Marty, Rebdogg, Iraqi Eagle, DVN, RockDead69
#3
SHOULD work now...
The following 2 users Like DarkN00b's post:
  • DVN, Iraqi Eagle
#4
Since nobody said a thing, fixed


Forum Jump:


Users browsing this thread: 1 Guest(s)