vehicle.randomiseColours

Method Server Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0

void vehicle.randomiseColours(void)

The vehicle.randomiseColours method is used to randomise the colours for the vehicle.

Parameters

void This method doesn't take any parameters.

Return

void This method doesn't return a value.

Types

Shared Train
Shared 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