Template:Utility functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
m (remove deprecated funcs)
 
(One intermediate revision by one other user not shown)
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>
Line 34: Line 37:
<!-- SHARED functions-->
<!-- SHARED functions-->
<li>[[addDebugHook]]</li>
<li>[[addDebugHook]]</li>
<li>[[base64Decode]]</li>
<li>[[base64Encode]]</li>
<li>[[debugSleep]]</li>
<li>[[debugSleep]]</li>
<li>[[decodeString]]</li>
<li>[[decodeString]]</li>

Latest revision as of 17:27, 1 June 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.