GetVehicleSirensOn: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
This | This function returns whether the sirens are turned on for the specified vehicle. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool getVehicleSirensOn ( vehicle theVehicle ) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''theVehicle:''' The vehicle that will be checked | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' if | Returns ''true'' if the sirens are turned on for the specified vehicle, ''false'' if the sirens are turned off for the specified vehicle, if the vehicle doesn't have sirens or if invalid arguments are specified. | ||
==Example== | ==Example== |
Revision as of 18:13, 19 November 2006
This function returns whether the sirens are turned on for the specified vehicle.
Syntax
bool getVehicleSirensOn ( vehicle theVehicle )
Required Arguments
- theVehicle: The vehicle that will be checked
Returns
Returns true if the sirens are turned on for the specified vehicle, false if the sirens are turned off 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