Template:Vehicle functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Add spawnVehicleFlyingComponent)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
     <li>[[getVehicleRotorSpeed]]</li>
     <li>[[getVehicleRotorSpeed]]</li>
     }}
     }}
    {{New items|3.0161|1.6.0|
    <li>[[getVehicleRotorState]]</li>
    |22862}}
     <li>[[getVehicleAdjustableProperty]]</li>
     <li>[[getVehicleAdjustableProperty]]</li>
     <li>[[getVehicleComponentPosition]]</li>
     <li>[[getVehicleComponentPosition]]</li>
Line 47: Line 50:
     <li>[[setVehicleRotorSpeed]]</li>
     <li>[[setVehicleRotorSpeed]]</li>
     |22344}}
     |22344}}
    {{New items|3.0161|1.6.0|
    <li>[[setVehicleRotorState]]</li>
    |22862}}
     <li>[[setVehicleAdjustableProperty]]</li>
     <li>[[setVehicleAdjustableProperty]]</li>
     <li>[[setVehicleComponentPosition]]</li>
     <li>[[setVehicleComponentPosition]]</li>
Line 58: Line 64:
     <li>[[setVehicleModelExhaustFumesPosition]]</li>
     <li>[[setVehicleModelExhaustFumesPosition]]</li>
     <li>[[setVehicleModelWheelSize]]</li>
     <li>[[setVehicleModelWheelSize]]</li>
    <li>[[setVehicleNitroActivated]]</li>
     <li>[[setVehicleNitroCount]]</li>
     <li>[[setVehicleNitroCount]]</li>
     <li>[[setVehicleNitroLevel]]</li>
     <li>[[setVehicleNitroLevel]]</li>
Line 70: Line 75:
  |
  |
     <!-- SERVER functions -->
     <!-- SERVER functions -->
    <li>[[addVehicleSirens]]</li>
     <li>[[getModelHandling]]</li>
     <li>[[getModelHandling]]</li>
     <li>[[getVehicleIdleRespawnDelay]]</li>
     <li>[[getVehicleIdleRespawnDelay]]</li>
Line 78: Line 82:
     <li>[[getVehiclesOfType]]</li>
     <li>[[getVehiclesOfType]]</li>
     <li>[[isVehicleRespawnable]]</li>
     <li>[[isVehicleRespawnable]]</li>
    <li>[[removeVehicleSirens]]</li>
     <li>[[resetVehicleExplosionTime]]</li>
     <li>[[resetVehicleExplosionTime]]</li>
     <li>[[resetVehicleIdleTime]]</li>
     <li>[[resetVehicleIdleTime]]</li>
Line 97: Line 100:
<!-- SHARED functions-->
<!-- SHARED functions-->
<li>[[addVehicleUpgrade]]</li>
<li>[[addVehicleUpgrade]]</li>
<li>[[addVehicleSirens]]</li>
<li>[[attachTrailerToVehicle]]</li>
<li>[[attachTrailerToVehicle]]</li>
<li>[[blowVehicle]]</li>
<li>[[blowVehicle]]</li>
Line 121: Line 125:
<li>[[getVehicleName]]</li>
<li>[[getVehicleName]]</li>
<li>[[getVehicleNameFromModel]]</li>
<li>[[getVehicleNameFromModel]]</li>
<li>[[setVehicleNitroActivated]]</li>
<li>[[getVehicleOccupant]]</li>
<li>[[getVehicleOccupant]]</li>
<li>[[getVehicleOccupants]]</li>
<li>[[getVehicleOccupants]]</li>
Line 151: Line 156:
<li>[[isVehicleTaxiLightOn]]</li>
<li>[[isVehicleTaxiLightOn]]</li>
<li>[[removeVehicleUpgrade]]</li>
<li>[[removeVehicleUpgrade]]</li>
<li>[[removeVehicleSirens]]</li>
<li>[[setTrainDerailable]]</li>
<li>[[setTrainDerailable]]</li>
<li>[[setTrainDerailed]]</li>
<li>[[setTrainDerailed]]</li>
Line 164: Line 170:
<li>[[setVehicleEngineState]]</li>
<li>[[setVehicleEngineState]]</li>
<li>[[setVehicleFuelTankExplodable]]</li>
<li>[[setVehicleFuelTankExplodable]]</li>
{{New items|3.0161|1.6.0|
<li>[[spawnVehicleFlyingComponent]]</li>
|22771}}
<li>[[setVehicleHandling]]</li>
<li>[[setVehicleHandling]]</li>
<li>[[setVehicleHeadLightColor]]</li>
<li>[[setVehicleHeadLightColor]]</li>
Line 182: Line 191:
<li>[[setVehicleVariant]]</li>
<li>[[setVehicleVariant]]</li>
<li>[[setVehicleWheelStates]]</li>
<li>[[setVehicleWheelStates]]</li>
{{New items|3.0161|1.6.0|
<li>[[spawnVehicleFlyingComponent]]</li>
|22771}}
</ul>
</ul>
</includeonly>
</includeonly>

Latest revision as of 02:41, 31 December 2024


The template contains a list of functions. It accepts 1 parameter, which specifies whether the functions should be displayed for server or client. Regardless of the parameter, a list of shared functions will also be displayed

Example: {{Camera functions|client}} will display a list of client-side functions, and below it a list of shared functions, similarly for the server.