setRadarAreaColor
Client-side
Server-side
Shared
This page is incomplete! Help wanted!
Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.
Sets the color of an existing radar area.
Syntax
setRadarAreaColor ( )Code Examples
server
This example creates a radar area and changes its color right away:
someArea = createRadarArea ( 1024, 1024, 75, 100, 0, 0, 0, 255 ) -- create a black radar arealocal flag = setRadarAreaColor ( someArea, 255, 85, 85, 170 ) -- change its colorif ( flag ) then -- if the function returned true... outputChatBox ( "Color set successfully!" )else -- if the function returned false... outputChatBox ( "Failed to set color." )end