Template:Player functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
m (remove deprecated func)
 
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:
     <li>[[getPlayerMapBoundingBox]]</li>
     <li>[[getPlayerMapBoundingBox]]</li>
     <li>[[getPlayerMapOpacity]]</li>
     <li>[[getPlayerMapOpacity]]</li>
    {{New items|3.0161|1.6.0|
    <li>[[getPlayerHudComponentProperty]]</li>
    |22868}}
     <li>[[isPlayerMapVisible]]</li>
     <li>[[isPlayerMapVisible]]</li>
    <li>[[resetBlurLevel]]</li>
     <li>[[isPlayerHudComponentVisible]]</li>
     <li>[[isPlayerHudComponentVisible]]</li>
     {{New items|3.0161|1.6.0|
     {{New items|3.0161|1.6.0|
     <li>[[isPlayerCrosshairVisible]]</li>
     <li>[[isPlayerCrosshairVisible]]</li>
     |22751}}
     |22751}}
    <li>[[resetBlurLevel]]</li>
    {{New items|3.0161|1.6.0|
    <li>[[resetPlayerHudComponentProperty]]</li>
    |22868}}
    {{New items|3.0161|1.6.0|
    <li>[[setPlayerHudComponentProperty]]</li>
    |22868}}
  | {{#ifeq: {{lc:{{{1}}}}} | server
  | {{#ifeq: {{lc:{{{1}}}}} | server
  |
  |
Line 19: 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>
Line 34: Line 42:
     <li>[[setPlayerScriptDebugLevel]]</li>
     <li>[[setPlayerScriptDebugLevel]]</li>
     <li>[[setPlayerTeam]]</li>
     <li>[[setPlayerTeam]]</li>
    <li>[[setPlayerName]]</li>
     <li>[[setPlayerVoiceBroadcastTo]]</li>
     <li>[[setPlayerVoiceBroadcastTo]]</li>
     <li>[[setPlayerVoiceIgnoreFrom]]</li>
     <li>[[setPlayerVoiceIgnoreFrom]]</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.