Template:Player functions: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (Rework)  | 
				Fernando187 (talk | contribs)  m (remove deprecated func)  | 
				||
| (4 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>[[isPlayerHudComponentVisible]]</li>  | |||
    {{New items|3.0161|1.6.0|  | |||
    <li>[[isPlayerCrosshairVisible]]</li>  | |||
    |22751}}  | |||
     <li>[[resetBlurLevel]]</li>  |      <li>[[resetBlurLevel]]</li>  | ||
     <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 16: | Line 28: | ||
     <li>[[getAlivePlayers]]</li>  |      <li>[[getAlivePlayers]]</li>  | ||
     <li>[[getDeadPlayers]]</li>  |      <li>[[getDeadPlayers]]</li>  | ||
     <li>[[getPlayerAnnounceValue]]</li>  |      <li>[[getPlayerAnnounceValue]]</li>  | ||
     <li>[[getPlayerCount]]</li>  |      <li>[[getPlayerCount]]</li>  | ||
| Line 31: | 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.