getVehicleLightState | Multi Theft Auto: Wiki Skip to content

getVehicleLightState

Client-side
Server-side
Shared

Pair: setVehicleLightState

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function returns the current state of the specified light on the vehicle.

Syntax

getVehicleLightState ( )

Code Examples

server
newcar = createVehicle ( 520, 1024, 1024, 1024 )
state = getVehicleLightState ( newcar, 0 )
outputChatBox ( "The front-left light state on this car: " .. state )

See Also

Vehicle Functions