Template:Vehicle functions c: Difference between revisions
(Created page with "*Functions: **Vehicle::removeHighDetailModel() **Vehicle::setCreatesMoneyPickupsWhenExploded|Vehicle::setCreatesMoneyPickupsWhenExploded(t...") |
No edit summary |
||
| Line 1: | Line 1: | ||
*Properties: | |||
**[[Entity::id]] | |||
**[[Entity::handle]] | |||
**[[Entity::position]] | |||
**[[Entity::model]] | |||
**[[Vehicle::gear]] | |||
**[[Vehicle::steeringAngle]] | |||
**[[Vehicle::rpm]] | |||
*Functions: | *Functions: | ||
**[[Vehicle::removeHighDetailModel|Vehicle::removeHighDetailModel()]] | **[[Vehicle::removeHighDetailModel|Vehicle::removeHighDetailModel()]] | ||
Revision as of 14:00, 7 May 2017
- Properties:
- Functions:
- Vehicle::removeHighDetailModel()
- Vehicle::setCreatesMoneyPickupsWhenExploded(toggle)
- Vehicle::steerUnlockBias(toggle)
- Vehicle::getTrainCarriage(carriage)
- Vehicle::setRudderBroken(p1)
- Vehicle::detachFromCargobob(cargobob)
- Vehicle::getWindowTint()
- Vehicle::setFixed()
- Vehicle::areAllWindowsIntact()
- Vehicle::doesExtraExist(extraId)
- Vehicle::isInBurnout()
- Vehicle::isAttachedToTowTruck(vehicle)
- Vehicle::setSearchlight(toggle, canBeUsedByAI)
- Vehicle::setTrainCruiseSpeed(speed)
- Vehicle::isCargobobHookActive()
- Vehicle::setFrictionOverride(friction)
- Vehicle::getTrailerVehicle(trailer)
- Vehicle::isHighDetail()
- Vehicle::setModKit(modKit)
- Vehicle::setExtraColours(pearlescentColor, wheelColor)
- Vehicle::getPedUsingDoor(doorIndex)
- Vehicle::resetWheels(toggle)
- Vehicle::setReduceGrip(toggle)
- Vehicle::isSeatFree(seatIndex)
- Vehicle::disablePlaneAileron(p1, p2)
- Vehicle::setEngineOn(value, instantly, otherwise)
- Vehicle::getNumberOfPassengers()
- Vehicle::getDoorLockStatus()
- Vehicle::doesHaveWeapons()
- Vehicle::setHalt(distance, killEngine, unknown)
- Vehicle::getBoatAnchor()
- Vehicle::getLayoutHash()
- Vehicle::getClass()
- Vehicle::isStoppedAtTrafficLights()
- Vehicle::attachToTowTruck(vehicle, rear, hookOffsetX, hookOffsetY, hookOffsetZ)
- Vehicle::setWheelsCanBreak(enabled)
- Vehicle::toggleMod(modType, toggle)
- Vehicle::setNeonLightEnabled(index, toggle)
- Vehicle::setHasBeenOwnedByPlayer(owned)
- Vehicle::getLivery()
- Vehicle::isAnySeatEmpty()
- Vehicle::setTimedExplosion(ped, toggle)
- Vehicle::setDoorBreakable(doorIndex, isBreakable)
- Vehicle::setCanBeUsedByFleeingPeds(toggle)
- Vehicle::canShuffleSeat(p1)
- Vehicle::setRenderTrainAsDerailed(toggle)
- Vehicle::setIsConsideredByPlayer(toggle)
- Vehicle::setColourCombination(numCombos)
- Vehicle::getNumModKits()
- Vehicle::setLights(state)
- Vehicle::closeBombBayDoors()
- Vehicle::setCustomSecondaryColour(r, g, b)
- Vehicle::setCanBeTargetted(state)
- Vehicle::setDisablePetrolTankDamage(toggle)
- Vehicle::setPaintFade(fade)
- Vehicle::getNumberOfColours()
- Vehicle::getExtraColours(pearlescentColor, wheelColor)
- Vehicle::attachToTrailer(trailer, radius)
- Vehicle::setStrong(toggle)
- Vehicle::isDoorFullyOpen(doorIndex)
- Vehicle::wasCounterActivated(p1)
- Vehicle::attachToCargobob(cargobob, p2, x, y, z)
- Vehicle::isModel(model)
- Vehicle::setSteerBias(value)
- Vehicle::isAlarmActivated()
- Vehicle::setModColor1(paintType, color, p3)
- Vehicle::releasePreloadMods()
- Vehicle::setEngineHealth(health)
- Vehicle::setDisablePetrolTankFires(toggle)
- Vehicle::isBumperBrokenOff(front)
- Vehicle::isWindowIntact(windowIndex)
- Vehicle::setWheelType(WheelType)
- Vehicle::getModColor2TextLabel()
- Vehicle::setOnGroundProperly()
- Vehicle::isStolen()
- Vehicle::isDriveable(p1)
- Vehicle::setCanBeVisiblyDamaged(state)
- Vehicle::isSirenOn()
- Vehicle::getDeformationAtPos(offsetX, offsetY, offsetZ)
- Vehicle::setColours(colorPrimary, colorSecondary)
- Vehicle::setDoorsLockedForPlayer(player, toggle)
- Vehicle::getModSlotName(modType)
- Vehicle::setCanRespray(state)
- Vehicle::isAConvertible(p1)
- Vehicle::getSuspensionHeight()
- Vehicle::clearCustomPrimaryColour()
- Vehicle::isStopped()
- Vehicle::setPedEnabledBikeRingtone(p1)
- Vehicle::setWindowTint(tint)
- Vehicle::doesHaveStuckVehicleCheck()
- Vehicle::setMissionTrainCoords(x, y, z)
- Vehicle::setTaxiLights(state)
- Vehicle::setCanBreak(toggle)
- Vehicle::setProvidesCover(toggle)
- Vehicle::setAllowNoPassengersLockon(p1)
- Vehicle::getAcceleration()
- Vehicle::getIsLeftHeadlightDamaged()
- Vehicle::clearCustomSecondaryColour()
- Vehicle::rollUpWindow(windowIndex)
- Vehicle::setLivery(livery)
- Vehicle::getModKit()
- Vehicle::trackVisibility()
- Vehicle::getTyresCanBurst()
- Vehicle::isStuckTimerUp(p1, p2)
- Vehicle::setIsStolen(isStolen)
- Vehicle::setHandbrake(toggle)
- Vehicle::getColourCombination()
- Vehicle::setMod(modType, modIndex, customTires)
- Vehicle::detachWindscreen()
- Vehicle::setHelicopterRollPitchYawMult(multiplier)
- Vehicle::isCargobobMagnetActive()
- Vehicle::setTyreFixed(tyreIndex)
- Vehicle::setPetrolTankHealth(fix)
- Vehicle::setCustomPrimaryColour(r, g, b)
- Vehicle::setExplodesOnHighExplosionDamage(toggle)
- Vehicle::isTaxiLightOn()
- Vehicle::setBoatAnchor(toggle)
- Vehicle::getNeonLightsColour(r, g, b)
- Vehicle::fixWindow(index)
- Vehicle::getMod(modType)
- Vehicle::setDoorsShut(closeInstantly)
- Vehicle::explodeInCutscene(p1)
- Vehicle::setDirtLevel(dirtLevel)
- Vehicle::rollDownWindow(windowIndex)
- Vehicle::enableCargobobHook(state)
- Vehicle::setDoorOpen(doorIndex, loose, openInstantly)
- Vehicle::getNumberPlateText()
- Vehicle::getPetrolTankHealth()
- Vehicle::setExtra(extraId, toggle)
- Vehicle::getModColor2(paintType, color)
- Vehicle::setModColor2(paintType, color)
- Vehicle::getCustomSecondaryColour(r, g, b)
- Vehicle::getLastPedInSeat(seatIndex)
- Vehicle::isToggleModOn(modType)
- Vehicle::rollDownWindows()
- Vehicle::getAttachedToCargobob()
- Vehicle::getLiveryCount()
- Vehicle::openBombBayDoors()
- Vehicle::getModTextLabel(modType, modValue)
- Vehicle::setGravity(toggle)
- Vehicle::setUndriveable(toggle)
- Vehicle::doesHaveRoof()
- Vehicle::setFullbeam(toggle)
- Vehicle::setAutomaticallyAttaches(p1, p2)
- Vehicle::isNeonLightEnabled(index)
- Vehicle::setNeonLightsColour(r, g, b)
- Vehicle::getDirtLevel()
- Vehicle::getOwner(entity)
- Vehicle::raiseConvertibleRoof(instantlyRaise)
- Vehicle::detachFromTrailer()
- Vehicle::setNumberPlateTextIndex(plateIndex)
- Vehicle::getModModifierValue(modType, modIndex)
- Vehicle::getIsSecondaryColourCustom()
- Vehicle::setBrakeLights(toggle)
- Vehicle::removeMod(modType)
- Vehicle::setHasStrongAxles(toggle)
- Vehicle::setEnginePowerMultiplier(value)
- Vehicle::setLodMultiplier(multiplier)
- Vehicle::setDoorShut(doorIndex, closeInstantly)
- Vehicle::setDeformationFixed()
- Vehicle::setNumberPlateText(plateText)
- Vehicle::retractCargobobHook()
- Vehicle::setEngineCanDegrade(toggle)
- Vehicle::cargobobMagnetGrab(toggle)
- Vehicle::getLandingGearState()
- Vehicle::startHorn(duration, mode, forever)
- Vehicle::getPlateType()
- Vehicle::setBikeLeanAngle(x, y)
- Vehicle::setSilent(toggle)
- Vehicle::smashWindow(index)
- Vehicle::isBig()
- Vehicle::getMaxTraction()
- Vehicle::setHeliBladesFullSpeed()
- Vehicle::getColours(colorPrimary, colorSecondary)
- Vehicle::setDamage(xOffset, yOffset, zOffset, damage, radius, p6)
- Vehicle::setDoorsLockedForAllPlayers(toggle)
- Vehicle::setWheelsCanBreakOffWhenBlowUp(toggle)
- Vehicle::setCeilingHeight(p1)
- Vehicle::setPlaybackToUseAi(flag)
- Vehicle::setDoorLatched(doorIndex, p2, p3, p4)
- Vehicle::requestHighDetailModel()
- Vehicle::removeWindow(windowIndex)
- Vehicle::getMaxNumberOfPassengers()
- Vehicle::getIsRightHeadlightDamaged()
- Vehicle::getPaintFade()
- Vehicle::isVisible()
- Vehicle::setTrainSpeed(speed)
- Vehicle::setForwardSpeed(speed)
- Vehicle::getHeliEngineHealth()
- Vehicle::getMaxBraking()
- Vehicle::detachFromAnyCargobob()
- Vehicle::getIsEngineRunning()
- Vehicle::getHeliTailRotorHealth()
- Vehicle::isOnAllWheels()
- Vehicle::setLightMultiplier(multiplier)
- Vehicle::getModVariation(modType)
- Vehicle::getWheelType()
- Vehicle::getModColor1TextLabel(p1)
- Vehicle::isStuckOnRoof()
- Vehicle::getLiveryName(liveryIndex)
- Vehicle::setEngineTorqueMultiplier(value)
- Vehicle::setTyreSmokeColor(r, g, b)
- Vehicle::setExclusiveDriver(ped, p2)
- Vehicle::isSirenSoundOn()
- Vehicle::setIndicatorLights(turnSignal, toggle)
- Vehicle::getTyreSmokeColor(r, g, b)
- Vehicle::getCustomPrimaryColour(r, g, b)
- Vehicle::setDoorsLocked(doorLockStatus)
- Vehicle::addUpsidedownCheck()
- Vehicle::setBodyHealth(value)
- Vehicle::setDoorsLockedForTeam(team, toggle)
- Vehicle::setPlaneMinHeightAboveGround(height)
- Vehicle::isDoorDamaged(doorID)
- Vehicle::getBodyHealth2()
- Vehicle::setJetEngineOn(toggle)
- Vehicle::startAlarm()
- Vehicle::getLightsState(lightsOn, highbeamsOn)
- Vehicle::isTyreBurst(wheelID, completely)
- Vehicle::explode(isAudible, isInvisible)
- Vehicle::getPedInSeat(index)
- Vehicle::setInteriorlight(toggle)
- Vehicle::isHeliPartBroken(p1, p2, p3)
- Vehicle::isDamaged()
- Vehicle::setPlayersLast()
- Vehicle::setPedTargettableDestroy(vehicleComponent, destroyType)
- Vehicle::setNameDebug(name)
- Vehicle::isSearchlightOn()
- Vehicle::detachFromTowTruck(vehicle)
- Vehicle::getEngineHealth()
- Vehicle::removeUpsidedownCheck()
- Vehicle::jitter(p1, yaw, pitch, roll)
- Vehicle::getCargobobHookPosition()
- Vehicle::setAlarm(state)
- Vehicle::setLandingGear(state)
- Vehicle::detachFromAnyTowTruck()
- Vehicle::isExtraTurnedOn(extraId)
- Vehicle::isAttachedToCargobob(vehicleAttached)
- Vehicle::setDoorBroken(doorIndex, createDoorObject)
- Vehicle::resetStuckTimer(nullAttributes)
- Vehicle::disableImpactExplosionActivation(toggle)
- Vehicle::lowerConvertibleRoof(instantlyLower)
- Vehicle::setAllsSpawn(p1, p2, p3)
- Vehicle::ejectJb700Roof(x, y, z)
- Vehicle::getNumMods(modType)
- Vehicle::getCauseOfDestruction()
- Vehicle::getHeliMainRotorHealth()
- Vehicle::isAttachedToTrailer()
- Vehicle::getModColor1(paintType, color, p3)
- Vehicle::setTyresCanBurst(toggle)
- Vehicle::setTyreBurst(index, onRim, p3)
- Vehicle::getAttachedToTowTruck()
- Vehicle::getIsPrimaryColourCustom()
- Vehicle::getNumberPlateTextIndex()
- Vehicle::setOutOfControl(killDriver, explodeOnImpact)
- Vehicle::getBodyHealth()
- Vehicle::setDoorControl(doorIndex, p2, angle)
- Vehicle::setConvertibleRoof(p1)
- Vehicle::getColor(r, g, b)
- Vehicle::setSiren(toggle)
- Vehicle::getDoorsLockedForPlayer(player)
- Vehicle::setIsWanted(state)
- Vehicle::getConvertibleRoofState()
- Vehicle::setBurnout(toggle)
- Vehicle::setNeedsToBeHotwired(toggle)
- Vehicle::getModKitType()
- Vehicle::setHeliBladesSpeed(speed)
- Vehicle::getDoorAngleRatio(door)
- Vehicle::setTowTruckCraneHeight(height)