vehicle.fix

From GTA Connected
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.fix(void)

Description

The vehicle.fix method is used to fix the vehicle, which resets the health (1000.0 for vehicles) and repairs any damage for visual components.

Parameters

Type Description
void This method doesn't take any parameters.

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

gta.createVehicle - Previous Name: 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

getVehicles
gta.createVehicle - Previous Name: createVehicle

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.dirtLevel
vehicle.distanceFromCentreOfMassToBaseOfModel
vehicle.driveTo
vehicle.drowned
vehicle.enableGPS
vehicle.engine
vehicle.engineHealth
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.hazardLights
vehicle.heading
vehicle.health
vehicle.horn
vehicle.id
vehicle.interior
vehicle.isLocal
vehicle.isOnScreen
vehicle.isSyncer
vehicle.isType
vehicle.lights
vehicle.livery
vehicle.locked
vehicle.markAsNoLongerNeeded
vehicle.mass
vehicle.matrix
vehicle.modelIndex
vehicle.name
vehicle.openTrunk
vehicle.parent
vehicle.petrolTankHealth
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.taxiLight
vehicle.turnVelocity
vehicle.type
vehicle.velocity