IsRadarAreaFlashing: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
[[Category:Incomplete]]
__NOTOC__  
__NOTOC__  
This fake function is for use with blah & blah and does blahblahblabhalbhl
This function allows detection of whether a radar area is flashing or not.


==Syntax==  
==Syntax==  
Line 10: Line 8:


===Required Arguments===  
===Required Arguments===  
*'''argumentName:''' description
*'''radararea:''' The radar area you wish to check the state of flashing
 
===Optional Arguments===
{{OptionalArg}}
*'''argumentName2:''' descriptiona
*'''argumentName3:''' description


===Returns===
===Returns===
Returns ''true'' if blah, ''false'' otherwise.
Returns ''true'' if the operation was successful, ''false'' otherwise.


==Example==  
==Example==  
This example does...
This example checks whether the radar area 'glenpark' is flashing, and announces it if it is.
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
--This line does...
if isRadarAreaFlashing ( glenpark ) == true --if glen park is flashing it
blabhalbalhb --abababa
    outputChatBox ( "Glen Park is under attack!!!" ) -- anounce it
--This line does this...
end
mooo
</syntaxhighlight>
</syntaxhighlight>


==See Also==
==See Also==
{{FunctionArea_Functions}}
{{Radar area functions}}

Revision as of 18:40, 13 August 2006

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 operation was successful, false otherwise.

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