AreVehicleLightsOn

From Multi Theft Auto: Wiki
Revision as of 19:50, 3 September 2019 by StrixG (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function is used to find out whether the lights of the vehicle are on. ==Syntax== <syntaxhighlight lang="lua"> bool areVehicleLightsOn ( ve...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function is used to find out whether the lights of the vehicle are on.

Syntax

bool areVehicleLightsOn ( vehicle theVehicle )

OOP Syntax Help! I don't understand this!

Method: vehicle:areLightsOn(...)
Variable: .lightsOn


Required Arguments

  • theVehicle: the vehicle you wish to retrieve the lights state of.

Returns

Returns true if the lights are on, false otherwise.

Example

-- TODO

See Also