Added UTIL:DebugPrint, removed redundant code

This commit is contained in:
Dan
2019-11-08 16:30:06 +00:00
parent 2197056be5
commit f17d37cb70
2 changed files with 16 additions and 91 deletions

View File

@@ -98,6 +98,12 @@ function UTIL:DrawDebugLine( startP, endP, col )
end
end
function UTIL:DebugPrint( text )
if ( RADAR.config.debug_mode ) then
print( text )
end
end
UTIL.car_colours = {
[ "0" ] = "Metallic Black",
[ "1" ] = "Metallic Graphite Black",