vehicle.setCarCruiseSpeed: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
|parameters = float speed | |parameters = float speed | ||
|parameter1 = float speed The cruise speed for the vehicle. | |parameter1 = float speed The cruise speed for the vehicle. | ||
|usage = set the speed of the vehicle | |usage = set the cruising speed of the vehicle (the normal speed for AI driving) | ||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} |
Latest revision as of 12:39, 8 August 2021
Method
Client Only
Online and Offline
void vehicle.setCarCruiseSpeed(float speed)
Parameters
1) | float | speed | The cruise speed for the vehicle. |
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
Client Related
createVehicle
getVehicleCount
getVehicles
gta.createVehicle
vehicle.addOnXRotation
vehicle.addOnZRotation
vehicle.addUpgrade
vehicle.affectedByGravity
vehicle.alarm
vehicle.alpha
vehicle.appearance
vehicle.beingCarriedByCrane
vehicle.blow
vehicle.boundingCentre
vehicle.boundingMax
vehicle.boundingMin
vehicle.boundingRadius
vehicle.centerOfMass
vehicle.children
vehicle.clearExistsFor
vehicle.collisionBoxCount
vehicle.collisionBoxes
vehicle.collisionLineCount
vehicle.collisionLines
vehicle.collisionPower
vehicle.collisionsEnabled
vehicle.collisionSphereCount
vehicle.collisionSpheres
vehicle.collisionVertexCount
vehicle.collisionVertices
vehicle.colour1
vehicle.colour2
vehicle.colour3
vehicle.colour4
vehicle.dimension
vehicle.dirtLevel
vehicle.distanceFromCentreOfMassToBaseOfModel
vehicle.driveTo
vehicle.drowned
vehicle.enableGPS
vehicle.engine
vehicle.engineHealth
vehicle.existsFor
vehicle.fix
vehicle.flipped
vehicle.flyTo
vehicle.gear
vehicle.getComponentWorldPosition
vehicle.getData
vehicle.getDoorStatus
vehicle.getLightStatus
vehicle.getOccupant
vehicle.getOccupants
vehicle.getPanelStatus
vehicle.getRotation
vehicle.getSuspensionHeight
vehicle.getWheelStatus
vehicle.handlingIndex
vehicle.hasRoof
vehicle.heading
vehicle.health
vehicle.health
vehicle.heightAboveRoad
vehicle.horn
vehicle.id
vehicle.interior
vehicle.inWater
vehicle.isCreatedFor
vehicle.island
vehicle.isLocal
vehicle.isOnScreen
vehicle.isOwner
vehicle.isSyncer
vehicle.isType
vehicle.lights
vehicle.lightsStatus
vehicle.livery
vehicle.locked
vehicle.lockedStatus
vehicle.markAsNoLongerNeeded
vehicle.mass
vehicle.matrix
vehicle.model
vehicle.modelIndex
vehicle.name
vehicle.netFlags
vehicle.onScreen
vehicle.onSide
vehicle.openTop
vehicle.openTrunk
vehicle.parent
vehicle.petrolTankHealth
vehicle.position
vehicle.radioStation
vehicle.removeAllData
vehicle.removeData
vehicle.removeUpgrade
vehicle.resource
vehicle.rotation
vehicle.setCarCruiseSpeed
vehicle.setCarMission
vehicle.setColours
vehicle.setData
vehicle.setDoorStatus
vehicle.setDrivingStyle
vehicle.setExistsFor
vehicle.setHazardLights
vehicle.setLightStatus
vehicle.setPaintJob
vehicle.setPanelStatus
vehicle.setProofs
vehicle.setProofs
vehicle.setRGBColours
vehicle.setRotation
vehicle.setSuspensionHeight
vehicle.setSyncer
vehicle.setWheelStatus
vehicle.siren
vehicle.status
vehicle.streamInDistance
vehicle.streamOutDistance
vehicle.subType
vehicle.syncer
vehicle.syncerId
vehicle.taxiLight
vehicle.turnVelocity
vehicle.type
vehicle.upsideDown
vehicle.velocity
vehicle.visible
vehicle.wanderRandomly