Template:World functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (fix removed function)
mNo edit summary
 
(3 intermediate revisions by 3 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 47: Line 47:
     <li>[[resetTimeFrozen]]</li>
     <li>[[resetTimeFrozen]]</li>
     }}
     }}
     {{New feature/item|3.0161|1.6.0|22716|
     {{New feature/item|3.0161|1.6.0|22721|
     <li>[[resetVolumetricShadows]]</li>
     <li>[[resetVolumetricShadows]]</li>
     }}
     }}
Line 78: 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>
     }}
     }}
    {{New items|3.0161|1.6.0|
    <li>[[testSphereAgainstWorld]]</li>
    |22837}}
  | {{#ifeq: {{lc:{{{1}}}}} | server
  | {{#ifeq: {{lc:{{{1}}}}} | server
  |
  |
Line 89: Line 92:
   }}
   }}
</br>
</br>
<li style="list-style: none; margin-left: -1.6em;">'''Shared'''</li>
}}
}}
<!-- SHARED functions-->
<!-- SHARED functions-->
<li>[[areTrafficLightsLocked]]</li>
<li>[[areTrafficLightsLocked]]</li>
Line 161: Line 162:
<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 01:55, 22 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.