Template:World functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Rework)
mNo edit summary
Line 29: Line 29:
     {{New feature/item|3.0161|1.6.0|22676|
     {{New feature/item|3.0161|1.6.0|22676|
     <li>[[isTimeFrozen]]</li>
     <li>[[isTimeFrozen]]</li>
    }}
    {{New feature/item|3.0161|1.6.0|22716|
    <li>[[isVolumetricShadowsEnabled]]</li>
     }}
     }}
     <li>[[isWorldSoundEnabled]]</li>
     <li>[[isWorldSoundEnabled]]</li>
Line 42: 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>
     <li>[[resetVolumetricShadows]]</li>
    }}
    {{New feature/item|3.0161|1.6.0|22716|
    <li>[[setVolumetricShadowsEnabled]]</li>
     }}
     }}
     <li>[[resetVehiclesLODDistance]]</li>
     <li>[[resetVehiclesLODDistance]]</li>
Line 72: Line 78:
     }}
     }}
     <li>[[testLineAgainstWater]]</li>
     <li>[[testLineAgainstWater]]</li>
    {{New feature/item|3.0161|1.6.0|22716|
    <li>[[setVolumetricShadowsEnabled]]</li>
    }}
  | {{#ifeq: {{lc:{{{1}}}}} | server
  | {{#ifeq: {{lc:{{{1}}}}} | server
  |
  |

Revision as of 09:34, 7 September 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.