Template:Vehicle functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 64: 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 76: Line 75:
  |
  |
     <!-- SERVER functions -->
     <!-- SERVER functions -->
    <li>[[addVehicleSirens]]</li>
     <li>[[getModelHandling]]</li>
     <li>[[getModelHandling]]</li>
     <li>[[getVehicleIdleRespawnDelay]]</li>
     <li>[[getVehicleIdleRespawnDelay]]</li>
Line 84: 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 103: 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 127: 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 157: 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>

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.