Plate reader locking and BOLO, config change, slight JS cleanup

This commit is contained in:
Dan
2020-01-30 14:53:22 +00:00
parent bf2230cf23
commit 257886fd0c
8 changed files with 405 additions and 161 deletions

View File

@@ -6,29 +6,36 @@
------------------------------------------------------------------------]]--
-- Do not touch this
RADAR = {}
RADAR.config = {}
CONFIG = {}
-- Radar Control Panel key
-- The default key to open the radar control panel is 166 (F5 - INPUT_SELECT_CHARACTER_MICHAEL)
RADAR.config.remote_control_key = 166
CONFIG.remote_control_key = 166
-- Radar front antenna lock/unlock Key
-- The default key to lock/unlock the front antenna is 111 (Numpad 8 - INPUT_VEH_FLY_PITCH_UP_ONLY)
RADAR.config.front_lock_key = 111
CONFIG.front_lock_key = 111
-- Radar rear antenna lock/unlock Key
-- The default key to lock/unlock the rear antenna is 112 (Numpad 5 - INPUT_VEH_FLY_PITCH_DOWN_ONLY)
RADAR.config.rear_lock_key = 112
CONFIG.rear_lock_key = 112
-- Radar key lock key
-- The default key to enable/disable the radar key lock is 311 (K - INPUT_REPLAY_SHOWHOTKEY)
RADAR.config.key_lock_key = 311
CONFIG.key_lock_key = 311
-- Plate reader front lock/unlock Key
-- The default key to lock/unlock the front plate reader is 118 (Numpad 9 - INPUT_VEH_FLY_SELECT_TARGET_RIGHT)
CONFIG.plate_front_lock_key = 118
-- Plate reader rear lock/unlock Key
-- The default key to lock/unlock the rear plate reader is 109 (Numpad 6 - INPUT_VEH_FLY_ROLL_RIGHT_ONLY)
CONFIG.plate_rear_lock_key = 109
-- Radar fast limit locking
-- When enabled, the player will be able to define a fast limit within the radar's menu, when a vehicle
-- exceeds the fast limit, it will be locked into the fast box. Default setting is disabled to maintain realism
RADAR.config.allow_fast_limit = true
CONFIG.allow_fast_limit = true
-- Debug mode
RADAR.config.debug_mode = false
CONFIG.debug_mode = false