isRadarAreaFlashing | Multi Theft Auto: Wiki Skip to content

isRadarAreaFlashing

Client-side
Server-side
Shared

Pair: setRadarAreaFlashing

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function allows detection of whether a radar area is flashing or not.

Syntax

isRadarAreaFlashing ( )

Code Examples

server

This example checks whether the radar area in the variableglenparkis flashing, and announces it if it is.

function checkArea(sourcePlayer)
if ( isRadarAreaFlashing ( glenpark ) ) then -- if the radar area in the variable glenpark is flashing
outputChatBox ( "Glen Park is under attack!!!" ) -- announce it
end
end
addCommandHandler("checkArea", checkArea)

See Also