setVehicleLightState | Multi Theft Auto: Wiki Skip to content

setVehicleLightState

Client-side
Server-side
Shared

Pair: getVehicleLightState

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 sets the state of the light on the vehicle.

Syntax

setVehicleLightState ( )

Code Examples

server
newcar = createVehicle ( 520, 1024, 1024, 1024 ) -- create a new vehicle
state = setVehicleLightState ( newcar, 0, 1 ) -- break the left front light

See Also

Vehicle Functions