IsRadarAreaFlashing

From Multi Theft Auto: Wiki
Revision as of 18:41, 13 August 2006 by Talidan (talk | contribs)
Jump to navigation Jump to search

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

Syntax

bool isRadarAreaFlashing ( radararea radararea )               

Required Arguments

  • radararea: The radar area you wish to check the state of flashing

Returns

Returns true if the radar area is flashing, false if it is now.

Example

This example checks whether the radar area 'glenpark' is flashing, and announces it if it is.

if isRadarAreaFlashing ( glenpark ) == true --if glen park is flashing it
    outputChatBox ( "Glen Park is under attack!!!" ) -- anounce it
end

See Also