Template:World functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 81: Line 81:
     <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>

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.