vehicle.lightStatus: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Created page with "{{ScriptItem |endpoint = client |type = property |class = Vehicle |name = lightStatus |readonly = false |returnTypes = int |usage = fetch or set the lights status for the vehi...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{ScriptItem
{{ScriptItem
|games = iii, vc, sa
|endpoint = client
|endpoint = client
|type = property
|type = property
Line 8: Line 9:
|usage = fetch or set the lights status for the vehicle
|usage = fetch or set the lights status for the vehicle
|returnInfo = a int representing the current lights status of the vehicle
|returnInfo = a int representing the current lights status of the vehicle
|notes = Light status can be:
|notes = 0: Automatic lights<br>
0: Automatic lights
1: Lights forced on<br>
1: Lights forced on
2: Lights forced off
2: Lights forced off  
|since=1.0.72
|since=1.0.72
}}
}}

Latest revision as of 20:06, 6 October 2021

Property Client Only icon-iii.png icon-vc.png icon-sa.png Online and Offline Read and Set

Available since Client 1.0.72

int vehicle.lightStatus

The vehicle.lightStatus property is used to fetch or set the lights status for the vehicle.

Value

int A int representing the current lights status of the vehicle.
read/set This property can be changed, as well as read.

Types

Shared Train
Shared Vehicle

Notes

  • 0: Automatic lights.
  • 1: Lights forced on.
  • 2: Lights forced off.

Examples

There aren't any examples for this property.

Compatibility

There isn't any compatibility information for this property.

Related

Client Related

icon-iv.png createVehicle
icon-iii.png icon-vc.png icon-sa.png getVehicleCount
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getVehicles
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.createVehicle

icon-iii.png icon-vc.png icon-sa.png vehicle.addOnXRotation
icon-iii.png icon-vc.png icon-sa.png vehicle.addOnZRotation
icon-sa.png vehicle.addUpgrade
icon-iii.png icon-vc.png icon-sa.png vehicle.affectedByGravity
icon-iii.png icon-vc.png icon-sa.png vehicle.alarm
icon-iii.png vehicle.alpha
icon-vc.png vehicle.appearance
icon-iii.png vehicle.beingCarriedByCrane
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.blow
icon-iii.png icon-vc.png icon-sa.png vehicle.boundingCentre
icon-iii.png icon-vc.png icon-sa.png vehicle.boundingMax
icon-iii.png icon-vc.png icon-sa.png vehicle.boundingMin
icon-iii.png icon-vc.png icon-sa.png vehicle.boundingRadius
icon-iii.png icon-vc.png icon-sa.png vehicle.centerOfMass
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.children
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.clearExistsFor
icon-iii.png icon-vc.png icon-sa.png vehicle.collisionBoxCount
icon-iii.png icon-vc.png icon-sa.png vehicle.collisionBoxes
icon-iii.png icon-vc.png icon-sa.png vehicle.collisionLineCount
icon-iii.png icon-vc.png icon-sa.png vehicle.collisionLines
icon-iii.png icon-vc.png icon-sa.png vehicle.collisionPower
icon-iii.png icon-vc.png icon-sa.png vehicle.collisionsEnabled
icon-iii.png icon-vc.png icon-sa.png vehicle.collisionSphereCount
icon-iii.png icon-vc.png icon-sa.png vehicle.collisionSpheres
icon-iii.png icon-vc.png icon-sa.png vehicle.collisionVertexCount
icon-iii.png icon-vc.png icon-sa.png vehicle.collisionVertices
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.colour1
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.colour2
icon-sa.png icon-iv.png vehicle.colour3
icon-sa.png icon-iv.png vehicle.colour4
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.dimension
icon-iv.png vehicle.dirtLevel
icon-iii.png icon-vc.png icon-sa.png vehicle.distanceFromCentreOfMassToBaseOfModel
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.driveTo
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.drowned
icon-iv.png vehicle.enableGPS
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.engine
icon-iv.png vehicle.engineHealth
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.existsFor
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.fix
icon-iii.png icon-vc.png icon-sa.png vehicle.flipped
icon-vc.png icon-sa.png vehicle.flyTo
icon-iii.png icon-vc.png icon-sa.png vehicle.gear
icon-iii.png icon-vc.png vehicle.getComponentWorldPosition
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.getData
icon-iii.png icon-vc.png icon-sa.png vehicle.getDoorStatus
icon-iii.png icon-vc.png icon-sa.png vehicle.getLightStatus
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.getOccupant
icon-iii.png icon-vc.png icon-sa.png vehicle.getOccupants
icon-iii.png icon-vc.png icon-sa.png vehicle.getPanelStatus
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.getRotation
icon-iii.png icon-vc.png icon-sa.png vehicle.getSuspensionHeight
icon-iii.png icon-vc.png icon-sa.png vehicle.getWheelStatus
icon-iii.png icon-vc.png icon-sa.png vehicle.handlingIndex
icon-iii.png icon-vc.png vehicle.hasRoof
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.heading
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.health
icon-iv.png vehicle.health
icon-iii.png icon-vc.png icon-sa.png vehicle.heightAboveRoad
icon-iii.png icon-vc.png icon-sa.png vehicle.horn
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.id
icon-iii.png icon-vc.png icon-sa.png vehicle.interior
icon-iii.png icon-vc.png icon-sa.png vehicle.inWater
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.isCreatedFor
icon-iii.png vehicle.island
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.isLocal
icon-iii.png icon-vc.png icon-sa.png vehicle.isOnScreen
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.isOwner
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.isSyncer
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.isType
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.lights
icon-iii.png icon-vc.png icon-sa.png vehicle.lightsStatus
icon-iv.png vehicle.livery
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.locked
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.lockedStatus
icon-iii.png icon-vc.png icon-sa.png vehicle.markAsNoLongerNeeded
icon-iii.png icon-vc.png icon-sa.png vehicle.mass
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.matrix
icon-iii.png icon-vc.png icon-sa.png vehicle.model
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.modelIndex
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.name
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.netFlags
icon-iii.png icon-vc.png icon-sa.png vehicle.onScreen
icon-iii.png icon-vc.png vehicle.onSide
icon-vc.png icon-sa.png vehicle.openTop
icon-iv.png vehicle.openTrunk
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.parent
icon-iv.png vehicle.petrolTankHealth
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.position
icon-iii.png icon-vc.png icon-sa.png vehicle.radioStation
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.removeAllData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.removeData
icon-sa.png vehicle.removeUpgrade
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.resource
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.rotation
icon-iii.png icon-vc.png icon-sa.png vehicle.setCarCruiseSpeed
icon-iii.png icon-vc.png icon-sa.png vehicle.setCarMission
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.setColours
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.setData
icon-iii.png icon-vc.png icon-sa.png vehicle.setDoorStatus
icon-iii.png icon-vc.png icon-sa.png vehicle.setDrivingStyle
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.setExistsFor
icon-iv.png vehicle.setHazardLights
icon-iii.png icon-vc.png icon-sa.png vehicle.setLightStatus
icon-sa.png vehicle.setPaintJob
icon-iii.png icon-vc.png icon-sa.png vehicle.setPanelStatus
icon-iv.png vehicle.setProofs
icon-iii.png icon-vc.png icon-sa.png vehicle.setProofs
icon-iii.png icon-vc.png icon-sa.png vehicle.setRGBColours
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.setRotation
icon-iii.png icon-vc.png icon-sa.png vehicle.setSuspensionHeight
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.setSyncer
icon-iii.png icon-vc.png icon-sa.png vehicle.setWheelStatus
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.siren
icon-iii.png icon-vc.png icon-sa.png vehicle.status
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.streamInDistance
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.streamOutDistance
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.subType
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.syncer
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.syncerId
icon-iv.png vehicle.taxiLight
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.turnVelocity
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.type
icon-iii.png icon-vc.png icon-sa.png vehicle.upsideDown
icon-iii.png icon-vc.png icon-sa.png icon-iv.png vehicle.velocity
icon-iii.png icon-vc.png icon-sa.png vehicle.visible
icon-iii.png icon-vc.png icon-sa.png vehicle.wanderRandomly