Vehicle::isTyreBurst: Difference between revisions
(yay) |
No edit summary |
||
| Line 1: | Line 1: | ||
== Summary == | |||
The `isTyreBurst` method checks the condition of a specific tire on a vehicle, allowing you to determine if the tire is damaged or fully detached from the rim. This method is useful for creating immersive vehicle mechanics and realistic gameplay interactions, such as controlling a vehicle’s performance based on tire damage or triggering in-game events when tires are burst. | |||
This function is often used in scenarios where vehicle condition impacts gameplay, like racing games or roleplay servers in RageMP. For example, you might want to slow down a vehicle, reduce handling, or display warnings to players when they have burst tires, enhancing the realism of the driving experience. | |||
* | |||
* | '''Note:''' This function is client-side only and uses the `wheelID` parameter to identify the specific wheel, while the `completely` parameter determines whether the check should verify if the tire is fully detached from the rim. | ||
== Wheel ID Values == | |||
== | The following are commonly used `wheelID` values for vehicles: | ||
* **0** - Front left wheel (also used for bike, plane, or jet front wheel) | |||
* **1** - Front right wheel | |||
* **2** - Middle left wheel (used in 6-wheel trailers, or the first left wheel for planes or jets) | |||
* **3** - Middle right wheel (used in 6-wheel trailers, or the first right wheel for planes or jets) | |||
* **4** - Rear left wheel (also used for the rear wheel of bikes, or the last left wheel on planes or jets) | |||
* **5** - Rear right wheel (or the last right wheel for planes or jets) | |||
* **45** - Middle left wheel on a 6-wheel trailer | |||
* **47** - Middle right wheel on a 6-wheel trailer | |||
== Syntax == | |||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
mp.game.vehicle.isTyreBurst(vehicleHandle, wheelID, completely); | |||
</syntaxhighlight> | </syntaxhighlight> | ||
==See | |||
=== Parameters === | |||
* **vehicleHandle** (int): The identifier for the vehicle which you want to check whether the tyre is burst. | |||
* **wheelID** (int): The identifier for the wheel to check. | |||
* **completely** (Boolean): Set to `true` to check if the tire is fully detached from the rim. | |||
=== Return Value === | |||
* **Boolean**: Returns `true` if the specified tire is burst (and, if `completely` is `true`, fully detached). | |||
== Example == | |||
<syntaxhighlight lang="javascript"> | |||
const wheelID = 0; // Front left wheel | |||
const completely = true; | |||
const vehicle = mp.players.local.vehicle; //Local player vehicle to be used as an example for the method | |||
//Note: It’s better to add a check whether the vehicle handle is valid beforehand, otherwise an error might occur. | |||
if (mp.game.vehicle.isTyreBurst(vehicle.handle, wheelID, completely)) { | |||
mp.gui.chat.push("The front left tire is completely burst."); | |||
} else { | |||
mp.gui.chat.push("The front left tire is intact."); | |||
} | |||
</syntaxhighlight> | |||
== See Also == | |||
{{Vehicle_function_c}} | {{Vehicle_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category: | [[Category:Vehicle Functions]] | ||
Revision as of 10:23, 1 November 2024
Summary
The `isTyreBurst` method checks the condition of a specific tire on a vehicle, allowing you to determine if the tire is damaged or fully detached from the rim. This method is useful for creating immersive vehicle mechanics and realistic gameplay interactions, such as controlling a vehicle’s performance based on tire damage or triggering in-game events when tires are burst.
This function is often used in scenarios where vehicle condition impacts gameplay, like racing games or roleplay servers in RageMP. For example, you might want to slow down a vehicle, reduce handling, or display warnings to players when they have burst tires, enhancing the realism of the driving experience.
Note: This function is client-side only and uses the `wheelID` parameter to identify the specific wheel, while the `completely` parameter determines whether the check should verify if the tire is fully detached from the rim.
Wheel ID Values
The following are commonly used `wheelID` values for vehicles:
- **0** - Front left wheel (also used for bike, plane, or jet front wheel)
- **1** - Front right wheel
- **2** - Middle left wheel (used in 6-wheel trailers, or the first left wheel for planes or jets)
- **3** - Middle right wheel (used in 6-wheel trailers, or the first right wheel for planes or jets)
- **4** - Rear left wheel (also used for the rear wheel of bikes, or the last left wheel on planes or jets)
- **5** - Rear right wheel (or the last right wheel for planes or jets)
- **45** - Middle left wheel on a 6-wheel trailer
- **47** - Middle right wheel on a 6-wheel trailer
Syntax
mp.game.vehicle.isTyreBurst(vehicleHandle, wheelID, completely);
Parameters
- **vehicleHandle** (int): The identifier for the vehicle which you want to check whether the tyre is burst.
- **wheelID** (int): The identifier for the wheel to check.
- **completely** (Boolean): Set to `true` to check if the tire is fully detached from the rim.
Return Value
- **Boolean**: Returns `true` if the specified tire is burst (and, if `completely` is `true`, fully detached).
Example
const wheelID = 0; // Front left wheel
const completely = true;
const vehicle = mp.players.local.vehicle; //Local player vehicle to be used as an example for the method
//Note: It’s better to add a check whether the vehicle handle is valid beforehand, otherwise an error might occur.
if (mp.game.vehicle.isTyreBurst(vehicle.handle, wheelID, completely)) {
mp.gui.chat.push("The front left tire is completely burst.");
} else {
mp.gui.chat.push("The front left tire is intact.");
}
See Also
- mp.game.vehicle.create
- mp.game.vehicle.createVehicle
- mp.game.vehicle.delete
- mp.game.vehicle.setCanBeLockedOn
- mp.game.vehicle.setAllowNoPassengersLockon
- mp.game.vehicle.getHomingLockonState
- mp.game.vehicle.isModel
- mp.game.vehicle.doesScriptGeneratorExist
- mp.game.vehicle.doesScriptVehicleGeneratorExist
- mp.game.vehicle.createScriptGenerator
- mp.game.vehicle.createScriptVehicleGenerator
- mp.game.vehicle.deleteScriptGenerator
- mp.game.vehicle.deleteScriptVehicleGenerator
- mp.game.vehicle.setScriptGenerator
- mp.game.vehicle.setScriptVehicleGenerator
- mp.game.vehicle.setAllGeneratorsActiveInArea
- mp.game.vehicle.setAllVehicleGeneratorsActiveInArea
- mp.game.vehicle.setAllGeneratorsActive
- mp.game.vehicle.setAllVehicleGeneratorsActive
- mp.game.vehicle.setAllLowPriorityGeneratorsActive
- mp.game.vehicle.setAllLowPriorityVehicleGeneratorsActive
- mp.game.vehicle.setOnGroundProperly
- mp.game.vehicle.setUseCutsceneWheelCompression
- mp.game.vehicle.isStuckOnRoof
- mp.game.vehicle.addUpsidedownCheck
- mp.game.vehicle.removeUpsidedownCheck
- mp.game.vehicle.isStopped
- mp.game.vehicle.getNumberOfPassengers
- mp.game.vehicle.getMaxNumberOfPassengers
- mp.game.vehicle.getModelNumberOfSeats
- mp.game.vehicle.getVehicleModelMaxNumberOfPassengers
- mp.game.vehicle.isSeatWarpOnly
- mp.game.vehicle.isTurretSeat
- mp.game.vehicle.doesAllowRappel
- mp.game.vehicle.setDensityMultiplierThisFrame
- mp.game.vehicle.setVehicleDensityMultiplierThisFrame
- mp.game.vehicle.setRandomDensityMultiplierThisFrame
- mp.game.vehicle.setRandomVehicleDensityMultiplierThisFrame
- mp.game.vehicle.setParkedDensityMultiplierThisFrame
- mp.game.vehicle.setParkedVehicleDensityMultiplierThisFrame
- mp.game.vehicle.setDisableRandomTrainsThisFrame
- mp.game.vehicle.setAmbientRangeMultiplierThisFrame
- mp.game.vehicle.setFarDrawS
- mp.game.vehicle.setFarDrawVehicles
- mp.game.vehicle.setNumberOfParkedS
- mp.game.vehicle.setNumberOfParkedVehicles
- mp.game.vehicle.setDoorsLocked
- mp.game.vehicle.setIndividualDoorsLocked
- mp.game.vehicle.setHasMutedSirens
- mp.game.vehicle.setDoorsLockedForPlayer
- mp.game.vehicle.getDoorsLockedForPlayer
- mp.game.vehicle.setDoorsLockedForAllPlayers
- mp.game.vehicle.setDoorsLockedForNonScriptPlayers
- mp.game.vehicle.setDoorsLockedForTeam
- mp.game.vehicle.setDoorsLockedForUnk
- mp.game.vehicle.explode
- mp.game.vehicle.setOutOfControl
- mp.game.vehicle.setTimedExplosion
- mp.game.vehicle.addPhoneExplosiveDevice
- mp.game.vehicle.clearPhoneExplosiveDevice
- mp.game.vehicle.hasPhoneExplosiveDevice
- mp.game.vehicle.detonatePhoneExplosiveDevice
- mp.game.vehicle.setTaxiLights
- mp.game.vehicle.isTaxiLightOn
- mp.game.vehicle.isInGarageArea
- mp.game.vehicle.isVehicleInGarageArea
- mp.game.vehicle.setColours
- mp.game.vehicle.setFullbeam
- mp.game.vehicle.setIsRacing
- mp.game.vehicle.setCustomPrimaryColour
- mp.game.vehicle.getCustomPrimaryColour
- mp.game.vehicle.clearCustomPrimaryColour
- mp.game.vehicle.getIsPrimaryColourCustom
- mp.game.vehicle.setCustomSecondaryColour
- mp.game.vehicle.getCustomSecondaryColour
- mp.game.vehicle.clearCustomSecondaryColour
- mp.game.vehicle.getIsSecondaryColourCustom
- mp.game.vehicle.setEnveffScale
- mp.game.vehicle.getEnveffScale
- mp.game.vehicle.setCanRespray
- mp.game.vehicle.forceSubmarineSurfaceMode
- mp.game.vehicle.setSubmarineCrushDepths
- mp.game.vehicle.getSubmarineIsBelowFirstCrushDepth
- mp.game.vehicle.getSubmarineCrushDepthWarningState
- mp.game.vehicle.setBoatAnchor
- mp.game.vehicle.canAnchorBoatHere
- mp.game.vehicle.canAnchorBoatHere2
- mp.game.vehicle.setBoatFrozenWhenAnchored
- mp.game.vehicle.setBoatMovementResistance
- mp.game.vehicle.isBoatAnchoredAndFrozen
- mp.game.vehicle.setBoatSinksWhenWrecked
- mp.game.vehicle.setBoatIsSinking
- mp.game.vehicle.setSiren
- mp.game.vehicle.isSirenOn
- mp.game.vehicle.isSirenAudioOn
- mp.game.vehicle.setStrong
- mp.game.vehicle.removeStuckCheck
- mp.game.vehicle.removeVehicleStuckCheck
- mp.game.vehicle.getColours
- mp.game.vehicle.isSeatFree
- mp.game.vehicle.getPedInSeat
- mp.game.vehicle.getLastPedInSeat
- mp.game.vehicle.getLightsState
- mp.game.vehicle.isTyreBurst
- mp.game.vehicle.setForwardSpeed
- mp.game.vehicle.bringToHalt
- mp.game.vehicle.stopBringToHalt
- mp.game.vehicle.isBeingHalted
- mp.game.vehicle.setForkliftForkHeight
- mp.game.vehicle.isEntityAttachedToHandlerFrame
- mp.game.vehicle.isAnyEntityAttachedToHandlerFrame
- mp.game.vehicle.findCarryingThisEntity
- mp.game.vehicle.isHandlerFrameAboveContainer
- mp.game.vehicle.detachContainerFromHandlerFrame
- mp.game.vehicle.setBoatDisableAvoidance
- mp.game.vehicle.isHeliLandingAreaBlocked
- mp.game.vehicle.setHeliTurbulenceScalar
- mp.game.vehicle.setCarBootOpen
- mp.game.vehicle.setTyreBurst
- mp.game.vehicle.setDoorsShut
- mp.game.vehicle.setTyresCanBurst
- mp.game.vehicle.getTyresCanBurst
- mp.game.vehicle.setWheelsCanBreak
- mp.game.vehicle.setDoorOpen
- mp.game.vehicle.removeWindow
- mp.game.vehicle.rollDownWindows
- mp.game.vehicle.rollDownWindow
- mp.game.vehicle.rollUpWindow
- mp.game.vehicle.smashWindow
- mp.game.vehicle.fixWindow
- mp.game.vehicle.popOutWindscreen
- mp.game.vehicle.ejectJb700Roof
- mp.game.vehicle.setLights
- mp.game.vehicle.setUsePlayerLightSettings
- mp.game.vehicle.setLightsMode
- mp.game.vehicle.setAlarm
- mp.game.vehicle.startAlarm
- mp.game.vehicle.isAlarmActivated
- mp.game.vehicle.setInteriorlight
- mp.game.vehicle.setLightMultiplier
- mp.game.vehicle.attachToTrailer
- mp.game.vehicle.attachOnToTrailer
- mp.game.vehicle.stabiliseEntityAttachedToHeli
- mp.game.vehicle.detachFromTrailer
- mp.game.vehicle.isAttachedToTrailer
- mp.game.vehicle.setTrailerInverseMassScale
- mp.game.vehicle.setTrailerLegsRaised
- mp.game.vehicle.setTrailerLegsLowered
- mp.game.vehicle.setTyreFixed
- mp.game.vehicle.setNumberPlateText
- mp.game.vehicle.getNumberPlateText
- mp.game.vehicle.getNumberOfNumberPlates
- mp.game.vehicle.setNumberPlateTextIndex
- mp.game.vehicle.getNumberPlateTextIndex
- mp.game.vehicle.setRandomTrains
- mp.game.vehicle.createMissionTrain
- mp.game.vehicle.switchTrainTrack
- mp.game.vehicle.setTrainTrackSpawnFrequency
- mp.game.vehicle.deleteAllTrains
- mp.game.vehicle.setTrainSpeed
- mp.game.vehicle.setTrainCruiseSpeed
- mp.game.vehicle.setRandomBoats
- mp.game.vehicle.setRandomBoatsInMp
- mp.game.vehicle.setGarbageTrucks
- mp.game.vehicle.doesHaveStuckVehicleCheck
- mp.game.vehicle.getRecordingId
- mp.game.vehicle.getVehicleRecordingId
- mp.game.vehicle.requestRecording
- mp.game.vehicle.requestVehicleRecording
- mp.game.vehicle.hasRecordingBeenLoaded
- mp.game.vehicle.hasVehicleRecordingBeenLoaded
- mp.game.vehicle.removeRecording
- mp.game.vehicle.removeVehicleRecording
- mp.game.vehicle.getPositionOfRecordingIdAtTime
- mp.game.vehicle.getPositionOfRecordingAtTime
- mp.game.vehicle.getPositionOfVehicleRecordingAtTime
- mp.game.vehicle.getRotationOfRecordingIdAtTime
- mp.game.vehicle.getRotationOfRecordingAtTime
- mp.game.vehicle.getRotationOfVehicleRecordingAtTime
- mp.game.vehicle.getTotalDurationOfRecordingId
- mp.game.vehicle.getTotalDurationOfVehicleRecordingId
- mp.game.vehicle.getTotalDurationOfRecording
- mp.game.vehicle.getTotalDurationOfVehicleRecording
- mp.game.vehicle.getPositionInRecording
- mp.game.vehicle.getTimePositionInRecording
- mp.game.vehicle.startPlaybackRecorded
- mp.game.vehicle.startPlaybackRecordedVehicle
- mp.game.vehicle.startPlaybackRecordedWithFlags
- mp.game.vehicle.startPlaybackRecordedVehicleWithFlags
- mp.game.vehicle.forcePlaybackRecordedUpdate
- mp.game.vehicle.stopPlaybackRecorded
- mp.game.vehicle.stopPlaybackRecordedVehicle
- mp.game.vehicle.pausePlaybackRecorded
- mp.game.vehicle.pausePlaybackRecordedVehicle
- mp.game.vehicle.unpausePlaybackRecorded
- mp.game.vehicle.unpausePlaybackRecordedVehicle
- mp.game.vehicle.isPlaybackGoingOnFor
- mp.game.vehicle.isPlaybackGoingOnForVehicle
- mp.game.vehicle.isPlaybackUsingAiGoingOnFor
- mp.game.vehicle.isPlaybackUsingAiGoingOnForVehicle
- mp.game.vehicle.getCurrentPlaybackFor
- mp.game.vehicle.getCurrentPlaybackForVehicle
- mp.game.vehicle.skipToEndAndStopPlaybackRecorded
- mp.game.vehicle.skipToEndAndStopPlaybackRecordedVehicle
- mp.game.vehicle.setPlaybackSpeed
- mp.game.vehicle.startPlaybackRecordedUsingAi
- mp.game.vehicle.startPlaybackRecordedVehicleUsingAi
- mp.game.vehicle.skipTimeInPlaybackRecorded
- mp.game.vehicle.skipTimeInPlaybackRecordedVehicle
- mp.game.vehicle.setPlaybackToUseAi
- mp.game.vehicle.setPlaybackToUseAiTryToRevertBackLater
- mp.game.vehicle.explodeInCutscene
- mp.game.vehicle.addStuckCheckWithWarp
- mp.game.vehicle.addVehicleStuckCheckWithWarp
- mp.game.vehicle.setModelIsSuppressed
- mp.game.vehicle.setVehicleModelIsSuppressed
- mp.game.vehicle.getRandomInSphere
- mp.game.vehicle.getRandomVehicleInSphere
- mp.game.vehicle.getRandomFrontBumperInSphere
- mp.game.vehicle.getRandomVehicleFrontBumperInSphere
- mp.game.vehicle.getRandomBackBumperInSphere
- mp.game.vehicle.getRandomVehicleBackBumperInSphere
- mp.game.vehicle.getClosest
- mp.game.vehicle.getClosestVehicle
- mp.game.vehicle.getTrainCarriage
- mp.game.vehicle.isMissionTrain
- mp.game.vehicle.deleteMissionTrain
- mp.game.vehicle.setMissionTrainAsNoLongerNeeded
- mp.game.vehicle.setMissionTrainCoords
- mp.game.vehicle.isThisModelABoat
- mp.game.vehicle.isThisModelAJetski
- mp.game.vehicle.isThisModelAnEmergencyBoat
- mp.game.vehicle.isThisModelAPlane
- mp.game.vehicle.isThisModelAHeli
- mp.game.vehicle.isThisModelACar
- mp.game.vehicle.isThisModelATrain
- mp.game.vehicle.isThisModelABike
- mp.game.vehicle.isThisModelABicycle
- mp.game.vehicle.isThisModelAQuadbike
- mp.game.vehicle.isThisModelAnAmphibiousCar
- mp.game.vehicle.isThisModelAnAmphibiousQuadbike
- mp.game.vehicle.setHeliBladesFullSpeed
- mp.game.vehicle.setHeliBladesSpeed
- mp.game.vehicle.setCanBeTargetted
- mp.game.vehicle.setCanBeVisiblyDamaged
- mp.game.vehicle.setHasUnbreakableLights
- mp.game.vehicle.getDirtLevel
- mp.game.vehicle.setDirtLevel
- mp.game.vehicle.isDamaged
- mp.game.vehicle.isDoorFullyOpen
- mp.game.vehicle.setEngineOn
- mp.game.vehicle.setUndriveable
- mp.game.vehicle.setProvidesCover
- mp.game.vehicle.setDoorControl
- mp.game.vehicle.setDoorLatched
- mp.game.vehicle.getDoorAngleRatio
- mp.game.vehicle.getPedUsingDoor
- mp.game.vehicle.setDoorShut
- mp.game.vehicle.setDoorBroken
- mp.game.vehicle.setCanBreak
- mp.game.vehicle.doesHaveRoof
- mp.game.vehicle.isBig
- mp.game.vehicle.getNumberOfColours
- mp.game.vehicle.setColourCombination
- mp.game.vehicle.getColourCombination
- mp.game.vehicle.setXenonLightsColor
- mp.game.vehicle.getXenonLightsColor
- mp.game.vehicle.setIsConsideredByPlayer
- mp.game.vehicle.getRandomModelInMemory
- mp.game.vehicle.getRandomVehicleModelInMemory
- mp.game.vehicle.getDoorLockStatus
- mp.game.vehicle.getDoorDestroyType
- mp.game.vehicle.isDoorDamaged
- mp.game.vehicle.setDoorCanBreak
- mp.game.vehicle.isBumperBouncing
- mp.game.vehicle.isBumperBrokenOff
- mp.game.vehicle.isCopInArea3D
- mp.game.vehicle.isOnAllWheels
- mp.game.vehicle.getModelMonetaryValue
- mp.game.vehicle.getLayoutHash
- mp.game.vehicle.setRenderTrainAsDerailed
- mp.game.vehicle.setExtraColours
- mp.game.vehicle.getExtraColours
- mp.game.vehicle.setInteriorColor
- mp.game.vehicle.getInteriorColor
- mp.game.vehicle.setDashboardColor
- mp.game.vehicle.getDashboardColor
- mp.game.vehicle.stopAllGarageActivity
- mp.game.vehicle.setFixed
- mp.game.vehicle.setDeformationFixed
- mp.game.vehicle.setCanEngineOperateOnFire
- mp.game.vehicle.setCanLeakOil
- mp.game.vehicle.setCanLeakPetrol
- mp.game.vehicle.setDisablePetrolTankFires
- mp.game.vehicle.setDisablePetrolTankDamage
- mp.game.vehicle.setDisableEngineFires
- mp.game.vehicle.setDisablePretendOccupants
- mp.game.vehicle.removeVehiclesFromGeneratorsInArea
- mp.game.vehicle.setSteerBias
- mp.game.vehicle.isExtraTurnedOn
- mp.game.vehicle.setExtra
- mp.game.vehicle.doesExtraExist
- mp.game.vehicle.doesTyreExist
- mp.game.vehicle.setConvertibleRoof
- mp.game.vehicle.lowerConvertibleRoof
- mp.game.vehicle.raiseConvertibleRoof
- mp.game.vehicle.getConvertibleRoofState
- mp.game.vehicle.isAConvertible
- mp.game.vehicle.transformToSubmarine
- mp.game.vehicle.transformSubmarineTo
- mp.game.vehicle.getIsSubmarineTransformed
- mp.game.vehicle.isStoppedAtTrafficLights
- mp.game.vehicle.setDamage
- mp.game.vehicle.setVehicleDamage
- mp.game.vehicle.getEngineHealth
- mp.game.vehicle.setEngineHealth
- mp.game.vehicle.setPlaneEngineHealth
- mp.game.vehicle.getPetrolTankHealth
- mp.game.vehicle.setPetrolTankHealth
- mp.game.vehicle.isStuckTimerUp
- mp.game.vehicle.resetStuckTimer
- mp.game.vehicle.isDriveable
- mp.game.vehicle.setHasBeenOwnedByPlayer
- mp.game.vehicle.setNeedsToBeHotwired
- mp.game.vehicle.startHorn
- mp.game.vehicle.setSilent
- mp.game.vehicle.setHasStrongAxles
- mp.game.vehicle.getDisplayNameFromModel
- mp.game.vehicle.getDisplayNameFromVehicleModel
- mp.game.vehicle.getMakeNameFromModel
- mp.game.vehicle.getDeformationAtPos
- mp.game.vehicle.setLivery
- mp.game.vehicle.getLivery
- mp.game.vehicle.getLiveryCount
- mp.game.vehicle.setRoofLivery
- mp.game.vehicle.getRoofLivery
- mp.game.vehicle.getRoofLiveryCount
- mp.game.vehicle.isWindowIntact
- mp.game.vehicle.areAllWindowsIntact
- mp.game.vehicle.areAnySeatsFree
- mp.game.vehicle.resetWheels
- mp.game.vehicle.isHeliPartBroken
- mp.game.vehicle.getHeliMainRotorHealth
- mp.game.vehicle.getHeliTailRotorHealth
- mp.game.vehicle.getHeliTailBoomHealth
- mp.game.vehicle.setHeliMainRotorHealth
- mp.game.vehicle.setHeliTailRotorHealth
- mp.game.vehicle.setHeliTailExplodeThrowDashboard
- mp.game.vehicle.setNameDebug
- mp.game.vehicle.setExplodesOnHighExplosionDamage
- mp.game.vehicle.setDisableTowing
- mp.game.vehicle.doesHaveLandingGear
- mp.game.vehicle.controlLandingGear
- mp.game.vehicle.getLandingGearState
- mp.game.vehicle.isAnyNearPoint
- mp.game.vehicle.isAnyVehicleNearPoint
- mp.game.vehicle.requestHighDetailModel
- mp.game.vehicle.removeHighDetailModel
- mp.game.vehicle.isHighDetail
- mp.game.vehicle.requestAsset
- mp.game.vehicle.requestVehicleAsset
- mp.game.vehicle.hasAssetLoaded
- mp.game.vehicle.hasVehicleAssetLoaded
- mp.game.vehicle.removeAsset
- mp.game.vehicle.removeVehicleAsset
- mp.game.vehicle.setTowTruckArmPosition
- mp.game.vehicle.attachToTowTruck
- mp.game.vehicle.detachFromTowTruck
- mp.game.vehicle.detachFromAnyTowTruck
- mp.game.vehicle.isAttachedToTowTruck
- mp.game.vehicle.getEntityAttachedToTowTruck
- mp.game.vehicle.setAutomaticallyAttaches
- mp.game.vehicle.setBulldozerArmPosition
- mp.game.vehicle.setTankTurretPosition
- mp.game.vehicle.setTurretSpeedThisFrame
- mp.game.vehicle.disableTurretMovementThisFrame
- mp.game.vehicle.setFlightNozzlePosition
- mp.game.vehicle.setFlightNozzlePositionImmediate
- mp.game.vehicle.getFlightNozzlePosition
- mp.game.vehicle.setDisableFlightNozzlePosition
- mp.game.vehicle.setBurnout
- mp.game.vehicle.isInBurnout
- mp.game.vehicle.setReduceGrip
- mp.game.vehicle.setReduceTraction
- mp.game.vehicle.setIndicatorLights
- mp.game.vehicle.setBrakeLights
- mp.game.vehicle.setHandbrake
- mp.game.vehicle.setBrake
- mp.game.vehicle.instantlyFillPopulation
- mp.game.vehicle.hasFilledPopulation
- mp.game.vehicle.getTrailerVehicle
- mp.game.vehicle.setUsesLargeRearRamp
- mp.game.vehicle.setRudderBroken
- mp.game.vehicle.setConvertibleRoofLatchState
- mp.game.vehicle.getEstimatedMaxSpeed
- mp.game.vehicle.getMaxBraking
- mp.game.vehicle.getMaxTraction
- mp.game.vehicle.getAcceleration
- mp.game.vehicle.getModelEstimatedMaxSpeed
- mp.game.vehicle.getVehicleModelMaxSpeed
- mp.game.vehicle.getModelMaxBraking
- mp.game.vehicle.getVehicleModelMaxBraking
- mp.game.vehicle.getModelMaxBrakingMaxMods
- mp.game.vehicle.getModelMaxTraction
- mp.game.vehicle.getVehicleModelMaxTraction
- mp.game.vehicle.getModelAcceleration
- mp.game.vehicle.getVehicleModelAcceleration
- mp.game.vehicle.getModelEstimatedAgility
- mp.game.vehicle.getModelMaxKnots
- mp.game.vehicle.getModelMoveResistance
- mp.game.vehicle.getClassEstimatedMaxSpeed
- mp.game.vehicle.getClassMaxTraction
- mp.game.vehicle.getVehicleClassMaxTraction
- mp.game.vehicle.getClassMaxAgility
- mp.game.vehicle.getVehicleClassMaxAgility
- mp.game.vehicle.getClassMaxAcceleration
- mp.game.vehicle.getVehicleClassMaxAcceleration
- mp.game.vehicle.getClassMaxBraking
- mp.game.vehicle.getVehicleClassMaxBraking
- mp.game.vehicle.addRoadNodeSpeedZone
- mp.game.vehicle.removeRoadNodeSpeedZone
- mp.game.vehicle.openBombBayDoors
- mp.game.vehicle.closeBombBayDoors
- mp.game.vehicle.areBombBayDoorsOpen
- mp.game.vehicle.isSearchlightOn
- mp.game.vehicle.setSearchlight
- mp.game.vehicle.doesHaveSearchlight
- mp.game.vehicle.isSeatAccessible
- mp.game.vehicle.getEntryPositionOfDoor
- mp.game.vehicle.canShuffleSeat
- mp.game.vehicle.getNumModKits
- mp.game.vehicle.setModKit
- mp.game.vehicle.getModKit
- mp.game.vehicle.getModKitType
- mp.game.vehicle.getWheelType
- mp.game.vehicle.setWheelType
- mp.game.vehicle.getNumModColors
- mp.game.vehicle.setModColor1
- mp.game.vehicle.setModColor2
- mp.game.vehicle.getModColor1
- mp.game.vehicle.getModColor2
- mp.game.vehicle.getModColor1Name
- mp.game.vehicle.getModColor2Name
- mp.game.vehicle.haveModsStreamedIn
- mp.game.vehicle.setMod
- mp.game.vehicle.setVehicleMod
- mp.game.vehicle.getMod
- mp.game.vehicle.getVehicleMod
- mp.game.vehicle.getModVariation
- mp.game.vehicle.getNumMods
- mp.game.vehicle.removeMod
- mp.game.vehicle.toggleMod
- mp.game.vehicle.isToggleModOn
- mp.game.vehicle.getModTextLabel
- mp.game.vehicle.getModSlotName
- mp.game.vehicle.getLiveryName
- mp.game.vehicle.getModModifierValue
- mp.game.vehicle.getModIdentifierHash
- mp.game.vehicle.preloadMod
- mp.game.vehicle.preloadVehicleMod
- mp.game.vehicle.hasPreloadModsFinished
- mp.game.vehicle.releasePreloadMods
- mp.game.vehicle.setTyreSmokeColor
- mp.game.vehicle.getTyreSmokeColor
- mp.game.vehicle.setWindowTint
- mp.game.vehicle.getWindowTint
- mp.game.vehicle.getNumWindowTints
- mp.game.vehicle.getColor
- mp.game.vehicle.getCauseOfDestruction
- mp.game.vehicle.overrideOverheatHealth
- mp.game.vehicle.getIsLeftHeadlightDamaged
- mp.game.vehicle.getIsRightHeadlightDamaged
- mp.game.vehicle.isEngineOnFire
- mp.game.vehicle.modifyTopSpeed
- mp.game.vehicle.setMaxSpeed
- mp.game.vehicle.addCombatAngledAvoidanceArea
- mp.game.vehicle.removeCombatAvoidanceArea
- mp.game.vehicle.isAnyPedRappellingFromHeli
- mp.game.vehicle.setCheatPowerIncrease
- mp.game.vehicle.setIsWanted
- mp.game.vehicle.setBoatBoomPositionRatio
- mp.game.vehicle.getBoatBoomPositionRatio2
- mp.game.vehicle.getBoatBoomPositionRatio3
- mp.game.vehicle.getBoatBoomPositionRatio
- mp.game.vehicle.disablePlaneAileron
- mp.game.vehicle.getIsEngineRunning
- mp.game.vehicle.setUseAlternateHandling
- mp.game.vehicle.setBikeOnStand
- mp.game.vehicle.setLastDriven
- mp.game.vehicle.getLastDriven
- mp.game.vehicle.clearLastDriven
- mp.game.vehicle.setHasBeenDrivenFlag
- mp.game.vehicle.setTaskGotoPlaneMinHeightAboveTerrain
- mp.game.vehicle.setLodMultiplier
- mp.game.vehicle.setCanSaveInGarage
- mp.game.vehicle.getNumberOfBrokenOffBones
- mp.game.vehicle.getNumberOfBrokenBones
- mp.game.vehicle.setGeneratesEngineShockingEvents
- mp.game.vehicle.copyDamages
- mp.game.vehicle.setLightsCutoffDistanceTweak
- mp.game.vehicle.setShootAtTarget
- mp.game.vehicle.setVehicleShootAtTarget
- mp.game.vehicle.getLockOnTarget
- mp.game.vehicle.setForceHd
- mp.game.vehicle.getPlateType
- mp.game.vehicle.trackVisibility
- mp.game.vehicle.isVisible
- mp.game.vehicle.setGravity
- mp.game.vehicle.setEnableSlipstreaming
- mp.game.vehicle.getCurrentSlipstreamDraft
- mp.game.vehicle.isSlipstreamLeader
- mp.game.vehicle.setInactiveDuringPlayback
- mp.game.vehicle.setActiveDuringPlayback
- mp.game.vehicle.isSprayable
- mp.game.vehicle.setEngineCanDegrade
- mp.game.vehicle.setShadowEffect
- mp.game.vehicle.removeShadowEffect
- mp.game.vehicle.isPlaneLandingGearIntact
- mp.game.vehicle.arePlanePropellersIntact
- mp.game.vehicle.setPlanePropellersHealth
- mp.game.vehicle.setCanDeformWheels
- mp.game.vehicle.isStolen
- mp.game.vehicle.setIsStolen
- mp.game.vehicle.setPlaneTurbulenceMultiplier
- mp.game.vehicle.arePlaneWingsIntact
- mp.game.vehicle.detachFromCargobob
- mp.game.vehicle.detachFromAnyCargobob
- mp.game.vehicle.detachEntityFromCargobob
- mp.game.vehicle.isAttachedToCargobob
- mp.game.vehicle.getAttachedToCargobob
- mp.game.vehicle.getEntityAttachedToCargobob
- mp.game.vehicle.attachToCargobob
- mp.game.vehicle.attachEntityToCargobob
- mp.game.vehicle.setCargobobHookCanDetach
- mp.game.vehicle.getCargobobHookPosition
- mp.game.vehicle.doesCargobobHavePickUpRope
- mp.game.vehicle.createPickUpRopeForCargobob
- mp.game.vehicle.removePickUpRopeForCargobob
- mp.game.vehicle.setPickupRopeLengthForCargobob
- mp.game.vehicle.setCargobobHookPosition
- mp.game.vehicle.setCargobobPickupRopeDampingMultiplier
- mp.game.vehicle.setCargobobPickupRopeType
- mp.game.vehicle.doesCargobobHavePickupMagnet
- mp.game.vehicle.setCargobobPickupMagnetActive
- mp.game.vehicle.setCargobobPickupMagnetStrength
- mp.game.vehicle.setCargobobPickupMagnetEffectRadius
- mp.game.vehicle.setCargobobPickupMagnetReducedFalloff
- mp.game.vehicle.setCargobobPickupMagnetPullRopeLength
- mp.game.vehicle.setCargobobPickupMagnetPullStrength
- mp.game.vehicle.setCargobobPickupMagnetFalloff
- mp.game.vehicle.setCargobobPickupMagnetReducedStrength
- mp.game.vehicle.doesHaveWeapons
- mp.game.vehicle.disableWeapon
- mp.game.vehicle.disableVehicleWeapon
- mp.game.vehicle.isWeaponDisabled
- mp.game.vehicle.setActiveForPedNavigation
- mp.game.vehicle.getClass
- mp.game.vehicle.getVehicleClass
- mp.game.vehicle.getClassFromName
- mp.game.vehicle.getVehicleClassFromName
- mp.game.vehicle.setPlayersLast
- mp.game.vehicle.setCanBeUsedByFleeingPeds
- mp.game.vehicle.setDropsMoneyWhenBlownUp
- mp.game.vehicle.setJetEngineOn
- mp.game.vehicle.setHandlingHashForAi
- mp.game.vehicle.setExtendedRemovalRange
- mp.game.vehicle.setSteeringBiasScalar
- mp.game.vehicle.setHelicopterRollPitchYawMult
- mp.game.vehicle.setFrictionOverride
- mp.game.vehicle.setWheelsCanBreakOffWhenBlowUp
- mp.game.vehicle.setCeilingHeight
- mp.game.vehicle.clearRouteHistory
- mp.game.vehicle.doesExistWithDecorator
- mp.game.vehicle.doesVehicleExistWithDecorator
- mp.game.vehicle.setExclusiveDriver
- mp.game.vehicle.isPedExclusiveDriverOf
- mp.game.vehicle.disableIndividualPlanePropeller
- mp.game.vehicle.setForceAfterburner
- mp.game.vehicle.setDisableWindowCollisions
- mp.game.vehicle.setDistantCarsEnabled
- mp.game.vehicle.displayDistantVehicles
- mp.game.vehicle.setNeonLightsColour
- mp.game.vehicle.getNeonLightsColour
- mp.game.vehicle.setNeonLightEnabled
- mp.game.vehicle.isNeonLightEnabled
- mp.game.vehicle.disableNeonLights
- mp.game.vehicle.setDisableSuperdummyMode
- mp.game.vehicle.requestDashboardScaleformMovie
- mp.game.vehicle.getBodyHealth
- mp.game.vehicle.setBodyHealth
- mp.game.vehicle.getSuspensionBounds
- mp.game.vehicle.getSuspensionHeight
- mp.game.vehicle.setCarHighSpeedBumpSeverityMultiplier
- mp.game.vehicle.getNumberOfDoors
- mp.game.vehicle.setHydraulicRaised
- mp.game.vehicle.getBodyHealth2
- mp.game.vehicle.setKersAllowed
- mp.game.vehicle.getHasKers
- mp.game.vehicle.setHydraulicWheelValue
- mp.game.vehicle.getHydraulicWheelValue
- mp.game.vehicle.setCamberedWheelsDisabled
- mp.game.vehicle.setHydraulicWheelState
- mp.game.vehicle.setHydraulicWheelStateTransition
- mp.game.vehicle.setDamageModifier
- mp.game.vehicle.setUnkDamageMultiplier
- mp.game.vehicle.setControlsInverted
- mp.game.vehicle.setRampLaunchModifier
- mp.game.vehicle.getIsDoorValid
- mp.game.vehicle.setRocketBoostRefillTime
- mp.game.vehicle.getHasRocketBoost
- mp.game.vehicle.isRocketBoostActive
- mp.game.vehicle.setRocketBoostActive
- mp.game.vehicle.getHasRetractableWheels
- mp.game.vehicle.getIsWheelsLoweredStateActive
- mp.game.vehicle.raiseRetractableWheels
- mp.game.vehicle.lowerRetractableWheels
- mp.game.vehicle.getCanJump
- mp.game.vehicle.setUseHigherJumpForce
- mp.game.vehicle.setWeaponCapacity
- mp.game.vehicle.getWeaponCapacity
- mp.game.vehicle.getHasParachute
- mp.game.vehicle.getCanActivateParachute
- mp.game.vehicle.setParachuteActive
- mp.game.vehicle.setReceivesRampDamage
- mp.game.vehicle.setRampSidewaysLaunchMotion
- mp.game.vehicle.setRampUpwardsLaunchMotion
- mp.game.vehicle.setWeaponsDisabled
- mp.game.vehicle.setParachuteModel
- mp.game.vehicle.setParachuteTextureVariation
- mp.game.vehicle.getAllS
- mp.game.vehicle.setRocketBoostPercentage
- mp.game.vehicle.setOppressorTransformState
- mp.game.vehicle.disableWorldCollision
- mp.game.vehicle.setCargobobHookCanAttach
- mp.game.vehicle.setBombCount
- mp.game.vehicle.getBombCount
- mp.game.vehicle.setCountermeasureCount
- mp.game.vehicle.getCountermeasureCount
- mp.game.vehicle.setHoverTransformRatio
- mp.game.vehicle.setHoverTransformPercentage
- mp.game.vehicle.setHoverTransformEnabled
- mp.game.vehicle.setHoverTransformActive
- mp.game.vehicle.findRandomPointInSpace
- mp.game.vehicle.setDeployHeliStubWings
- mp.game.vehicle.areHeliStubWingsDeployed
- mp.game.vehicle.setTurretUnk
- mp.game.vehicle.setSpecialflightWingRatio
- mp.game.vehicle.setDisableTurretMovementThisFrame
- mp.game.vehicle.setUnkFloat0X104ForSubmarineTask
- mp.game.vehicle.setUnkBool0X102ForSubmarineTask
- mp.game.vehicle.getIsShuntBoostActive
- mp.game.vehicle.getLastRammed
- mp.game.vehicle.setDisableUnk
- mp.game.vehicle.setNitroEnabled
- mp.game.vehicle.setWheelsDealDamage
- mp.game.vehicle.setDisableUnk2
- mp.game.vehicle.getDoesHaveTombstone
- mp.game.vehicle.hideTombstone
- mp.game.vehicle.getIsEmpDisabled
- mp.game.vehicle.getTyreHealth
- mp.game.vehicle.setTyreHealth
- mp.game.vehicle.getTyreWearMultiplier
- mp.game.vehicle.setTyreWearMultiplier
- mp.game.vehicle.setTyreSoftnessMultiplier
- mp.game.vehicle.setTyreTractionLossMultiplier
- mp.game.vehicle.setReduceDriftSuspension
- mp.game.vehicle.setDriftTyresEnabled
- mp.game.vehicle.getDriftTyresEnabled
- mp.game.vehicle.networkUseHighPrecisionBlending
- mp.game.vehicle.setExperimentalAttachmentSyncEnabled
- mp.game.vehicle.setExperimentalHornSyncEnabled
- mp.game.vehicle.addModelOverride
- mp.game.vehicle.removeModelOverride
- mp.game.vehicle.clearModelOverrides
- mp.game.vehicle.isCopVehicleInArea3d
- mp.game.vehicle.requestVehicleAssetAsync