GetPlayerName: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "{{Welcome| desc=Gets the name of the specified player| params=<source lang="lua">playerid</source> <poem>::playerid : The ID of the player whose name you want to get.</poem>|...")
 
No edit summary
 
Line 3: Line 3:
params=<source lang="lua">playerid</source>
params=<source lang="lua">playerid</source>
<poem>::playerid : The ID of the player whose name you want to get.</poem>|
<poem>::playerid : The ID of the player whose name you want to get.</poem>|
retvals=The name of the player as a string. Returns null if the player does not exist.|
retvals=The name of the player as a string. Returns '''null''' if the player does not exist.|
}}
}}

Latest revision as of 15:44, 24 March 2022


Description:
Gets the name of the specified player


Parameters:

playerid

playerid : The ID of the player whose name you want to get.


Return Values:
The name of the player as a string. Returns null if the player does not exist.