Template:Team functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Rework)
m (Fix function in wrong category (wiki cleaning))
 
Line 6: Line 6:
     <!-- SERVER functions -->
     <!-- SERVER functions -->
     <li>[[createTeam]]</li>
     <li>[[createTeam]]</li>
    <li>[[setPlayerTeam]]</li>
     <li>[[setTeamColor]]</li>
     <li>[[setTeamColor]]</li>
     <li>[[setTeamFriendlyFire]]</li>
     <li>[[setTeamFriendlyFire]]</li>
Line 16: Line 15:


<!-- SHARED functions-->
<!-- SHARED functions-->
<li>[[countPlayersInTeam]]</li>
<li>[[getPlayerTeam]]</li>
<li>[[getPlayersInTeam]]</li>
<li>[[getTeamColor]]</li>
<li>[[getTeamColor]]</li>
<li>[[getTeamFriendlyFire]]</li>
<li>[[getTeamFriendlyFire]]</li>

Latest revision as of 14:54, 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.