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

@@ -92,7 +92,7 @@ function UTIL:DrawDebugText( x, y, scale, centre, text )
end
function UTIL:DrawDebugSphere( x, y, z, r, col )
if ( RADAR.config.debug_mode ) then
if ( CONFIG.debug_mode ) then
local col = col or { 255, 255, 255, 255 }
DrawMarker( 28, x, y, z, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, r, r, r, col[1], col[2], col[3], col[4], false, true, 2, false, false, false, false )
@@ -100,7 +100,7 @@ function UTIL:DrawDebugSphere( x, y, z, r, col )
end
function UTIL:DrawDebugLine( startP, endP, col )
if ( RADAR.config.debug_mode ) then
if ( CONFIG.debug_mode ) then
local col = col or { 255, 255, 255, 255 }
DrawLine( startP, endP, col[1], col[2], col[3], col[4] )
@@ -108,7 +108,7 @@ function UTIL:DrawDebugLine( startP, endP, col )
end
function UTIL:DebugPrint( text )
if ( RADAR.config.debug_mode ) then
if ( CONFIG.debug_mode ) then
print( text )
end
end