SetVehicleTaxiLightOn: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(setVehicleTaxiLightOn)
 
m (void -> bool)
Line 6: Line 6:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
void setVehicleTaxiLightOn ( vehicle taxi, bool LightState )               
bool setVehicleTaxiLightOn ( vehicle taxi, bool LightState )               
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 19:39, 6 April 2009

This function will set the taxi light on in a taxi (vehicle ID's 420 and 438)

Syntax

bool setVehicleTaxiLightOn ( vehicle taxi, bool LightState )              

Required Arguments

  • taxi: The vehicle element of the taxi that you wish to turn the light on.
  • LightState: whether the light is on. True for on, False for off.

Returns

Returns true if the state was successfully set, false otherwise.

Example

-- TODO

See Also