Added support for simfphys
Added unjail locations - possible to setup global ones and NPC specific ones
Added unjail and save unjail locations commands (Use Setup SWEP)
Removed save commands for jail locations - now saves as soon as you add a new one
Should now properly check for the NPC jail/unjail locations if player rejoins/dies in prison instead of always using global
Fixed bailing issue
Uploaded wrong .zip - Fixed now
Fixed being able to drop weapons while being cuffed
Fixed Setup SWEP not displaying model for NPCs
You can now restrict jailing to specific jobs Should now properly revert the old job if SetTeamOnArrest is enabled You can now modify NPCs Text color, font, background color and rotation speed NPC text now also supports background You can now enable/disable if whitelisted job should be automaticly granted handcuffs You can now set if player should be jailed instead of cuffed
Configs changes: Removed JailerModel, JailerText, BailerModel, BailerText Added .NPCData -> used for modifying the NPCs data (Text, Model, Color, Font etc) Added .GrantHandCuffsWhitelisted -> Grants handcuffs to whitelisted jobs Added .HandCuffsJail -> Jails player instead of cuffing them Added .JailTime Added .RestrictJailingToWhitelist -> Enable/Disable jail restriction to specific jobs Added .JailingJobs -> Job list for whitelist
Config issue
You can now allow only certain jobs to bail players out of jail You can now disable confiscating weapons given through jobs Unarresting/arresting now calls DarkRPs original hooks Fixed issue with not being able to confiscate weapons from itemstore inventory Added support for DConfig (Not tested, but should work fine)
Configs added: BailJobs RestrictBailing AllowConfiscatingJobWeapons
Global jaillocations should now work properly Fixed being able to drop handcuffs/surrender SWEP Added handcuffs instructions to HUD while holding the SWEP You can no longer use SitAnywhere script while arrested
Added two more admin commands: rhc_arrestplayer Player ArrestTime rhc_unarrestplayer Player
Updated tbfy_shared to lastest version
Addon is now dependent on: tbfy_shared addon This new addon includes a SWEP that is used to easily setup the addon and also uses shared code between my addons Simply spawn it from your sandbox menu and use R to open the selection menu All my addons will in the near future support and include this
You can now setup specific jail locations for each jailer NPC, if none is setup it will use the global jail locations Added a remove all jail locations command Recoded itemstore networking for the inspection system Itemstore illegal items can now be enabled/disabled Fixed itemstore inspection issue (with illegal items) You will now respawn in jail if you die while arrested Should no longer error if jobs config weren't loaded properly (unless it lua errors) Now supports ezJobs Minior fixes not worth mentioning
Config changes: Added ItemStoreIllegalItemsEnabled Added a function for loading the job configs
fixed issue with code trying to read itemstore data
Recoded networking for inspecting (should no longer error if player has too many weapons) You can no longer switch job while dragging a player Fixed lua error related to joining while a cuffed player disconnects Updated support for bLogs
Configs changes: Disable Confiscation
Added four new hooks: RHC_restrain RHC_jailed RHC_confis_weapon RHC_confis_item
These are called after the functions has been ran, so you can't override them (added them for bLogs support)
NOTE: The bLogs support isn't tested (can't portforward hence can't test with bLogs)
Changed draw.DrawNonParsedSimpleText to draw.SimpleText (DarkRP drawing function) You can no longer change job while surrendering