DE/addVehicleUpgrade
From Multi Theft Auto: Wiki
Mit dieser Funktion lassen sich Tuningteile in einem Auto einbauen.
Syntax
bool addVehicleUpgrade ( vehicle theVehicle, int upgrade )
Benötigte Argumente
- theVehicle: Ein Fahrzeug Element
- upgrade: Die Upgrade-ID des Tuningteils, das eingebaut werden soll. Eine Liste findet man hier: http://wiki.multitheftauto.com/wiki/Vehicle_Upgrades
Returns
Gibt ein true zurück, wenn das Upgrade erfolgreich eingebaut wurde, false wenn nicht.
Example
Click to collapse [-]
Client-- Noch nicht fertig
See Also
- DE/addVehicleUpgrade
- DE/attachTrailerToVehicle
- DE/blowVehicle
- DE/detachTrailerFromVehicle
- DE/createVehicle
- DE/fixVehicle
- DE/getVehicleAdjustableProperty
- DE/getVehicleColor
- DE/getVehicleCompatibleUpgrades
- DE/getVehicleController
- DE/getVehicleDoorState
- DE/getVehicleEngineState
- DE/getVehicleLandingGearDown
- DE/getVehicleLightState
- DE/getVehicleMaxPassengers
- DE/getVehicleName
- DE/getVehicleOccupant
- DE/getVehicleOccupants
- DE/getVehicleCurrentGear
- DE/getVehicleOverrideLights
- DE/getVehiclePaintjob
- DE/getVehiclePanelState
- DE/getVehiclePlateText
- DE/getVehicleRotation
- DE/getVehicleSirensOn
- DE/getVehicleTowedByVehicle
- DE/getVehicleTowingVehicle
- DE/getVehicleTurnVelocity
- DE/getVehicleTurretPosition
- DE/getVehicleUpgradeOnSlot
- DE/getVehicleUpgrades
- DE/getVehicleUpgradeSlotName
- DE/getVehicleWheelStates
- DE/getVehicleDoorOpenRatio
- DE/getVehicleHandling
- DE/getOriginalHandling
- DE/isVehicleDamageProof
- DE/isVehicleFrozen
- DE/isVehicleFuelTankExplodable
- DE/isVehicleLocked
- DE/isVehicleOnGround
- DE/removeVehicleUpgrade
- DE/setVehicleAdjustableProperty
- DE/setVehicleColor
- DE/setVehicleDamageProof
- DE/setVehicleDirtLevel
- DE/setVehicleDoorState
- DE/setVehicleDoorsUndamageable
- DE/setVehicleEngineState
- DE/setVehicleFrozen
- DE/setVehicleFuelTankExplodable
- DE/setVehicleLandingGearDown
- DE/setVehicleLightState
- DE/setVehicleLocked
- DE/setVehicleOverrideLights
- DE/setVehiclePaintjob
- DE/setVehiclePanelState
- DE/setVehicleRotation
- DE/setVehicleSirensOn
- DE/setVehicleTurretPosition
- DE/setVehicleDoorOpenRatio
- DE/setVehicleTurnVelocity
- DE/setVehicleWheelStates
- DE/getHelicopterRotorSpeed
- DE/getTrainDirection
- DE/getTrainSpeed
- DE/getVehicleGravity
- DE/getVehicleHeadLightColor
- DE/getVehicleModelFromName
- DE/getVehicleNameFromModel
- DE/getVehicleType
- DE/isTrainDerailable
- DE/isTrainDerailed
- DE/isVehicleBlown
- DE/isVehicleTaxiLightOn
- DE/setHelicopterRotorSpeed
- DE/setTrainDerailable
- DE/setTrainDerailed
- DE/setTrainDirection
- DE/setTrainSpeed
- DE/setVehicleGravity
- DE/setVehicleHeadLightColor
- DE/setVehicleTaxiLightOn
- DE/getVehicleVariant
FROM VERSION 1.4 r3966 ONWARDS