Difference between revisions of "Template:Vehicle functions"

From Multi Theft Auto: Wiki
(according to the source setVehicleDirtLevel is a serverside and clientside function)
 
(47 intermediate revisions by 25 users not shown)
Line 1: Line 1:
 +
*[[addVehicleSirens]]
 +
*[[addVehicleUpgrade]]
 +
{{New items|3.0160|1.5.7|
 +
*[[areVehicleLightsOn]]
 +
|19626}}
 +
*[[attachTrailerToVehicle]]
 
*[[blowVehicle]]
 
*[[blowVehicle]]
 
*[[createVehicle]]
 
*[[createVehicle]]
 +
*[[detachTrailerFromVehicle]]
 
*[[fixVehicle]]
 
*[[fixVehicle]]
*[[spawnVehicle]]
+
*[[getModelHandling]]
*[[respawnVehicle]]
+
*[[getOriginalHandling]]
 
+
*[[getTrainDirection]]
*[[getVehicleColor]]  
+
*[[getTrainPosition]]
{{Deprecated_feature|3|1.0|
+
*[[getTrainSpeed]]
*[[getVehicleID]]
+
{{New items|3.0160|1.6|
*[[getVehicleIDFromName]]
+
*[[getTrainTrack]]
*[[getVehicleNameFromID]]
+
|7485}}
}}
+
*[[getVehicleColor]]
 +
*[[getVehicleCompatibleUpgrades]]
 +
*[[getVehicleController]]
 +
*[[getVehicleDoorOpenRatio]]
 +
*[[getVehicleDoorState]]
 +
*[[getVehicleEngineState]]
 +
*[[getVehicleHandling]]
 +
*[[getVehicleHeadLightColor]]
 +
*[[getVehicleLandingGearDown]]
 +
*[[getVehicleLightState]]
 
*[[getVehicleMaxPassengers]]
 
*[[getVehicleMaxPassengers]]
{{New feature|3|1.0|
 
 
*[[getVehicleModelFromName]]
 
*[[getVehicleModelFromName]]
 +
*[[getVehicleName]]
 
*[[getVehicleNameFromModel]]
 
*[[getVehicleNameFromModel]]
}}
 
*[[getVehicleName]]
 
 
*[[getVehicleOccupant]]
 
*[[getVehicleOccupant]]
*[[getVehicleController]]
+
*[[getVehicleOccupants]]
*[[getVehicleRotation]]
+
*[[getVehicleOverrideLights]]
*[[getVehicleType]]  
+
*[[getVehiclePaintjob]]
 +
*[[getVehiclePanelState]]
 +
*[[getVehiclePlateText]]
 +
{{New items|3.0156|1.5.5|
 +
*[[getVehicleRespawnPosition]]
 +
*[[getVehicleRespawnRotation]]
 +
|14053}}
 +
*[[getVehicleSirenParams]]
 +
*[[getVehicleSirens]]
 +
*[[getVehicleSirensOn]]
 +
*[[getVehicleTowedByVehicle]]
 +
*[[getVehicleTowingVehicle]]
 +
{{Deprecated items|3.0156|1.5.6|
 
*[[getVehicleTurnVelocity]]
 
*[[getVehicleTurnVelocity]]
 +
}}
 
*[[getVehicleTurretPosition]]
 
*[[getVehicleTurretPosition]]
{{New feature|3|1.0|
 
 
*[[getVehicleType]]
 
*[[getVehicleType]]
*[[getTrainDirection]]
 
*[[getTrainSpeed]]
 
}}
 
 
*[[getVehiclesOfType]]
 
 
*[[getVehicleUpgradeOnSlot]]
 
*[[getVehicleUpgradeOnSlot]]
 +
*[[getVehicleUpgradeSlotName]]
 
*[[getVehicleUpgrades]]
 
*[[getVehicleUpgrades]]
*[[getVehicleUpgradeSlotName]]
+
*[[getVehicleVariant]]
*[[getVehicleCompatibleUpgrades]]
 
*[[getVehicleDoorState]]
 
*[[getVehicleEngineState]]
 
 
*[[getVehicleWheelStates]]
 
*[[getVehicleWheelStates]]
*[[getVehicleLightState]]
+
*[[getVehiclesOfType]]
*[[getVehicleOverrideLights]]
 
*[[getVehiclePanelState]]
 
*[[getVehicleTowedByVehicle]]
 
*[[getVehicleTowingVehicle]]
 
*[[getVehiclePaintjob]]
 
*[[getVehicleSirensOn]]
 
*[[getVehicleLandingGearDown]]
 
{{New feature|3|1.0|
 
 
*[[isTrainDerailable]]
 
*[[isTrainDerailable]]
 
*[[isTrainDerailed]]
 
*[[isTrainDerailed]]
}}
+
*[[isVehicleBlown]]
*[[isVehicleFrozen]]
+
*[[isVehicleDamageProof]]
 +
*[[isVehicleFuelTankExplodable]]
 
*[[isVehicleLocked]]
 
*[[isVehicleLocked]]
*[[isVehicleFuelTankExplodable]]
 
 
*[[isVehicleOnGround]]
 
*[[isVehicleOnGround]]
 
+
*[[isVehicleTaxiLightOn]]
 +
*[[removeVehicleSirens]]
 +
*[[removeVehicleUpgrade]]
 +
*[[resetVehicleExplosionTime]]
 
*[[resetVehicleIdleTime]]
 
*[[resetVehicleIdleTime]]
*[[resetVehicleExplosionTime]]
+
*[[respawnVehicle]]
 
+
*[[setModelHandling]]
*[[setVehicleDirtLevel]]
 
*[[setVehicleColor]]
 
{{New feature|3|1.0|
 
 
*[[setTrainDerailable]]
 
*[[setTrainDerailable]]
 
*[[setTrainDerailed]]
 
*[[setTrainDerailed]]
 
*[[setTrainDirection]]
 
*[[setTrainDirection]]
 +
*[[setTrainPosition]]
 
*[[setTrainSpeed]]
 
*[[setTrainSpeed]]
}}
+
{{New items|3.0160|1.6|
*[[setVehicleFrozen]]
+
*[[setTrainTrack]]
*[[setVehicleLocked]]
+
|7485}}
{{Deprecated_feature|3|1.0|
+
*[[setVehicleColor]]
*[[setVehicleModel]]
+
*[[setVehicleDamageProof]]
}}
+
*[[setVehicleDoorOpenRatio]]
 +
*[[setVehicleDoorState]]
 
*[[setVehicleDoorsUndamageable]]
 
*[[setVehicleDoorsUndamageable]]
*[[setVehicleRotation]]
+
*[[setVehicleEngineState]]
*[[setVehicleTurnVelocity]]
+
*[[setVehicleFuelTankExplodable]]
*[[addVehicleUpgrade]]
+
*[[setVehicleHandling]]
*[[removeVehicleUpgrade]]
+
*[[setVehicleHeadLightColor]]
*[[setVehicleDoorState]]
+
*[[setVehicleIdleRespawnDelay]]
*[[setVehicleWheelStates]]
+
*[[setVehicleLandingGearDown]]
 
*[[setVehicleLightState]]
 
*[[setVehicleLightState]]
*[[toggleVehicleRespawn]]
+
*[[setVehicleLocked]]
 
*[[setVehicleOverrideLights]]
 
*[[setVehicleOverrideLights]]
*[[attachTrailerToVehicle]]
 
*[[detachTrailerFromVehicle]]
 
 
*[[setVehiclePaintjob]]
 
*[[setVehiclePaintjob]]
 
*[[setVehiclePanelState]]
 
*[[setVehiclePanelState]]
*[[setVehicleEngineState]]
+
*[[setVehiclePlateText]]
*[[setVehicleFuelTankExplodable]]
+
*[[setVehicleRespawnDelay]]
 +
*[[setVehicleRespawnPosition]]
 +
{{New items|3.0156|1.5.5|
 +
*[[setVehicleRespawnRotation]]
 +
|14280}}
 +
*[[setVehicleSirens]]
 
*[[setVehicleSirensOn]]
 
*[[setVehicleSirensOn]]
*[[setVehicleGunsEnabled]]
 
*[[setVehicleLandingGearDown]]
 
*[[setVehicleDamageProof]]
 
*[[setVehicleRespawnPosition]]
 
*[[setVehicleRespawnDelay]]
 
*[[setVehicleIdleRespawnDelay]]
 
{{New feature|3|1.0|
 
 
*[[setVehicleTaxiLightOn]]
 
*[[setVehicleTaxiLightOn]]
*[[isVehicleTaxiLightOn]]
+
*[[setVehicleTurretPosition]]
 +
{{Deprecated items|3.0156|1.5.6|
 +
*[[setVehicleTurnVelocity]]
 
}}
 
}}
 +
*[[setVehicleVariant]]
 +
*[[setVehicleWheelStates]]
 +
*[[spawnVehicle]]
 +
*[[toggleVehicleRespawn]]
 +
 +
<noinclude>[[Category:Functions templates]]</noinclude>

Latest revision as of 19:53, 3 September 2019

FROM VERSION 1.5.7 r19626 ONWARDS
FROM VERSION 1.6 r7485 ONWARDS
FROM VERSION 1.6 r7485 ONWARDS