Template:Player functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (remove deprecated func)
m (Fix function in wrong category (wiki cleaning))
Line 77: Line 77:
<li>[[setPlayerNametagText]]</li>
<li>[[setPlayerNametagText]]</li>
<li>[[takePlayerMoney]]</li>
<li>[[takePlayerMoney]]</li>
<li>[[countPlayersInTeam]]</li>
<li>[[getPlayersInTeam]]</li>
<li>[[getPlayersInTeam]]</li>
<li>[[isVoiceEnabled]]</li>
<li>[[isVoiceEnabled]]</li>

Revision as of 14:53, 10 November 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.