SetVehicleTaxiLightOn

From Multi Theft Auto: Wiki
Revision as of 19:35, 6 April 2009 by Cazomino05 (talk | contribs) (setVehicleTaxiLightOn)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Syntax

void 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

BETA: FROM VERSION 1.6 r7485 ONWARDS
BETA: FROM VERSION 1.5.8 r20797 ONWARDS
BETA: FROM VERSION 1.5.8 r20797 ONWARDS
BETA: FROM VERSION 1.5.8 r20726 ONWARDS
BETA: FROM VERSION 1.5.8 r20797 ONWARDS
BETA: FROM VERSION 1.6 r7485 ONWARDS
BETA: FROM VERSION 1.5.8 r20797 ONWARDS
BETA: FROM VERSION 1.5.8 r20693 ONWARDS