Template:Utility functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 10: Line 10:
     <li>[[getKeyboardLayout]]</li>
     <li>[[getKeyboardLayout]]</li>
     <li>[[getLocalization]]</li>
     <li>[[getLocalization]]</li>
    {{New items|3.0161|1.6.0|
    <li>[[getServerIp]]</li>
    |22890}}
     <li>[[isShowCollisionsEnabled]]</li>
     <li>[[isShowCollisionsEnabled]]</li>
     <li>[[isShowSoundEnabled]]</li>
     <li>[[isShowSoundEnabled]]</li>

Latest revision as of 19:33, 8 January 2025


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.