Removed debug mode stuff

This commit is contained in:
Dan
2020-01-30 20:13:32 +00:00
parent 8e9ab08ba9
commit 08819340a6
2 changed files with 2 additions and 10 deletions

View File

@@ -1578,12 +1578,7 @@ Citizen.CreateThread( function()
end end
end ) end )
function RunControlManager() function RunControlManager()
-- 'Z' key, toggles debug mode
--[[ if ( IsDisabledControlJustPressed( 1, 20 ) ) then
self.config.debug_mode = not self.config.debug_mode
end ]]
if ( not RADAR:GetKeyLockState() ) then if ( not RADAR:GetKeyLockState() ) then
-- Opens the remote control -- Opens the remote control
if ( IsDisabledControlJustPressed( 1, CONFIG.remote_control_key ) ) then if ( IsDisabledControlJustPressed( 1, CONFIG.remote_control_key ) ) then

View File

@@ -35,7 +35,4 @@ CONFIG.plate_rear_lock_key = 109
-- Radar fast limit locking -- Radar fast limit locking
-- When enabled, the player will be able to define a fast limit within the radar's menu, when a vehicle -- 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 -- exceeds the fast limit, it will be locked into the fast box. Default setting is disabled to maintain realism
CONFIG.allow_fast_limit = true CONFIG.allow_fast_limit = true
-- Debug mode
CONFIG.debug_mode = false