vehicle.randomiseColours
Method Server Only 
 
 
 ![]()
Online and Offline
void vehicle.randomiseColours(void)
Parameters
| void | This method doesn't take any parameters. | 
Return
| void | This method doesn't return a value. | 
Types
Shared TrainShared Vehicle
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
 
 
 
 getVehicleCount
 
 
 
 getVehicles
 
 
 
 gta.createVehicle
 
 
 
 vehicle.children
 
 
 
 vehicle.clearExistsFor
 
 
 
 vehicle.colour1
 
 
 
 vehicle.colour2
 
 
 
 vehicle.colour3
 
 
 
 vehicle.colour4
 
 
 
 vehicle.dimension
 
 
 
 vehicle.engine
 
 
 
 vehicle.existsFor
 
 
 
 vehicle.fix
 
 
 
 vehicle.getData
 
 
 
 vehicle.getOccupant
 
 
 
 vehicle.getOccupants
 
 
 
 vehicle.getRotation
 
 
 
 vehicle.heading
 
 
 
 vehicle.id
 
 
 
 vehicle.interior
 
 
 
 vehicle.isCreatedFor
 
 
 
 vehicle.isLocal
 
 
 
 vehicle.isOwner
 
 
 
 vehicle.isSyncer
 
 
 
 vehicle.isType
 
 
 
 vehicle.locked
 
 
 
 vehicle.lockedStatus
 
 
 
 vehicle.matrix
 
 
 
 vehicle.modelIndex
 
 
 
 vehicle.name
 
 
 
 vehicle.netFlags
 
 
 
 vehicle.parent
 
 
 
 vehicle.position
 
 
 
 vehicle.randomiseColours
 
 
 
 vehicle.removeAllData
 
 
 
 vehicle.removeData
 
 
 
 vehicle.resource
 
 
 
 vehicle.rotation
 
 
 
 vehicle.setColours
 
 
 
 vehicle.setData
 
 
 
 vehicle.setExistsFor
 
 
 
 vehicle.setRGBColours
 
 
 
 vehicle.setRotation
 
 
 
 vehicle.setSyncer
 
 
 
 vehicle.streamInDistance
 
 
 
 vehicle.streamOutDistance
 
 
 
 vehicle.strongGrip
 
 
 
 vehicle.syncer
 
 
 
 vehicle.syncerId
 
 
 
 vehicle.turnVelocity
 
 
 
 vehicle.type
 
 
 
 vehicle.velocity