Because you just got some shit handler and pasted on your code and you want it to work.
Server-side:
local pArea = createRadarArea( 2130, 728, 200, -100, 0, 255, 0, 175 )
local pCuboid = createColCuboid( 2133.1950683594, 633.66455078125, 10, 197.5, 92, 12 )
addEventHandler( 'onColShapeHit', root,
function( )
if( source == pCuboid ) then
setRadarAreaColor( pArea, 0, 0, 255, 255 )
setRadarAreaFlashing( pArea, true )
end
end
)
addEventHandler( 'onColShapeLeave', root,
function( )
if( source == pCuboid ) then
setRadarAreaColor( pArea, 0, 255, 0, 175 )
setRadarAreaFlashing( pArea, false )
end
end
)
P.S.: You should also make a well developed system for multiple areas, and if you are going to release it, make it easy for people to add/edit areas and change settings.