Template:Player functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Add missing setPlayerName)
m (remove deprecated func)
 
Line 28: Line 28:
     <li>[[getAlivePlayers]]</li>
     <li>[[getAlivePlayers]]</li>
     <li>[[getDeadPlayers]]</li>
     <li>[[getDeadPlayers]]</li>
    <li>[[getPlayerACInfo]]</li>
     <li>[[getPlayerAnnounceValue]]</li>
     <li>[[getPlayerAnnounceValue]]</li>
     <li>[[getPlayerCount]]</li>
     <li>[[getPlayerCount]]</li>

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