Template:World functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (fix doubled item list)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 30: Line 30:
     <li>[[isTimeFrozen]]</li>
     <li>[[isTimeFrozen]]</li>
     }}
     }}
     {{New feature/item|3.0161|1.6.0|22716|
     {{New feature/item|3.0161|1.6.0|22721|
     <li>[[isVolumetricShadowsEnabled]]</li>
     <li>[[isVolumetricShadowsEnabled]]</li>
     }}
     }}
Line 45: Line 45:
     <li>[[resetPedsLODDistance]]</li>
     <li>[[resetPedsLODDistance]]</li>
     {{New feature/item|3.0161|1.6.0|22676|
     {{New feature/item|3.0161|1.6.0|22676|
    <li>[[resetTimeFrozen]]</li>
    }}
    {{New feature/item|3.0161|1.6.0|22721|
     <li>[[resetVolumetricShadows]]</li>
     <li>[[resetVolumetricShadows]]</li>
     }}
     }}
Line 75: Line 78:
     }}
     }}
     <li>[[testLineAgainstWater]]</li>
     <li>[[testLineAgainstWater]]</li>
     {{New feature/item|3.0161|1.6.0|22716|
     {{New feature/item|3.0161|1.6.0|22721|
     <li>[[setVolumetricShadowsEnabled]]</li>
     <li>[[setVolumetricShadowsEnabled]]</li>
     }}
     }}
Line 86: Line 89:
   }}
   }}
</br>
</br>
<li style="list-style: none; margin-left: -1.6em;">'''Shared'''</li>
}}
}}
<!-- SHARED functions-->
<!-- SHARED functions-->
<li>[[areTrafficLightsLocked]]</li>
<li>[[areTrafficLightsLocked]]</li>
Line 158: Line 159:
<li>[[setWorldSpecialPropertyEnabled]]</li>
<li>[[setWorldSpecialPropertyEnabled]]</li>
|22195}}
|22195}}
{{New items|3.0161|1.6.0|
<li>[[resetWorldProperties]]</li>
|22741}}
</ul>
</ul>
</includeonly>
</includeonly>

Latest revision as of 13:12, 23 October 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.