vehicle.setRGBColours

From GTA Connected
(Redirected from Vehicle.setRGBColours)
Jump to navigation Jump to search

Method Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

void vehicle.setRGBColours(int colour1, int colour2)

Description

The vehicle.setRGBColours method is used to set the RGB colours for the vehicle.

Parameters

Type Name Presence Default Value Description
int colour1 required n/a The first RGB colour.
int colour2 required n/a The second RGB colour.

Returns

Success Returns

Type Description
void This method doesn't return any values on success.

Failure Returns

Type Value
void n/a

Types

This method can only be used on the Vehicle type.

Notes

There aren't any notes for this method.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.

Related

Server Related

createVehicle

vehicle.children
vehicle.colour1
vehicle.colour2
vehicle.colour3
vehicle.colour4
vehicle.dimension
vehicle.engine
vehicle.fix
vehicle.getData
vehicle.getRotation
vehicle.heading
vehicle.id
vehicle.interior
vehicle.isType
vehicle.locked
vehicle.matrix
vehicle.modelIndex
vehicle.name
vehicle.onAllDimensions
vehicle.parent
vehicle.position
vehicle.randomiseColours
vehicle.removeAllData
vehicle.removeData
vehicle.resource
vehicle.setColours
vehicle.setData
vehicle.setRGBColours
vehicle.setRotation
vehicle.setSyncer
vehicle.strongGrip
vehicle.syncer
vehicle.type


Client Related

createVehicle
getVehicles

vehicle.addUpgrade
vehicle.alarm
vehicle.alpha
vehicle.blow
vehicle.boundingCentre
vehicle.boundingMax
vehicle.boundingMin
vehicle.boundingRadius
vehicle.carWanderRandomly
vehicle.centerOfMass
vehicle.children
vehicle.collisionPower
vehicle.collisionsEnabled
vehicle.colour1
vehicle.colour2
vehicle.colour3
vehicle.colour4
vehicle.dimension
vehicle.distanceFromCentreOfMassToBaseOfModel
vehicle.driveTo
vehicle.drowned
vehicle.engine
vehicle.fix
vehicle.flipped
vehicle.gear
vehicle.getData
vehicle.getDoorStatus
vehicle.getLightStatus
vehicle.getOccupant
vehicle.getPanelStatus
vehicle.getRotation
vehicle.getSuspensionHeight
vehicle.getWheelStatus
vehicle.handlingIndex
vehicle.heading
vehicle.health
vehicle.horn
vehicle.id
vehicle.interior
vehicle.isLocal
vehicle.isOnScreen
vehicle.isSyncer
vehicle.isType
vehicle.lights
vehicle.locked
vehicle.markAsNoLongerNeeded
vehicle.mass
vehicle.matrix
vehicle.modelIndex
vehicle.name
vehicle.parent
vehicle.position
vehicle.radioStation
vehicle.removeAllData
vehicle.removeData
vehicle.removeUpgrade
vehicle.setCarCruiseSpeed
vehicle.setCarMission
vehicle.setColours
vehicle.setData
vehicle.setDoorStatus
vehicle.setDrivingStyle
vehicle.setLightStatus
vehicle.setPaintJob
vehicle.setPanelStatus
vehicle.setProofs
vehicle.setRGBColours
vehicle.setRotation
vehicle.setSuspensionHeight
vehicle.setWheelStatus
vehicle.siren
vehicle.status
vehicle.subType
vehicle.syncer
vehicle.turnVelocity
vehicle.type
vehicle.velocity