SetVehicleSirensOn: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 2: Line 2:


__NOTOC__  
__NOTOC__  
This fake function is for use with blah & blah and does blahblahblabhalbhl
This function changes the state of the sirens on the specified vehicle.


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
Insert syntax here             
bool setVehicleSirenOn ( vehicle theVehicle , bool sirensOn )
</syntaxhighlight>  
</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
*'''argumentName:''' description
*'''theVehicle:''' The vehicle that will have the sirens set
 
*'''sirensOn:''' The state to set the sirens to
===Optional Arguments===
{{OptionalArg}}
*'''argumentName2:''' descriptiona
*'''argumentName3:''' description


===Returns===
===Returns===
Returns ''true'' if blah, ''false'' otherwise.
Returns ''true'' if the sirens are set for the specified vehicle, ''false'' if the sirens can't be set for the specified vehicle, if the vehicle doesn't have sirens or if invalid arguments are specified.


==Example==  
==Example==  

Revision as of 18:16, 19 November 2006


This function changes the state of the sirens on the specified vehicle.

Syntax

bool setVehicleSirenOn ( vehicle theVehicle , bool sirensOn )

Required Arguments

  • theVehicle: The vehicle that will have the sirens set
  • sirensOn: The state to set the sirens to

Returns

Returns true if the sirens are set for the specified vehicle, false if the sirens can't be set for the specified vehicle, if the vehicle doesn't have sirens or if invalid arguments are specified.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

See Also

Template:FunctionArea Functions