GetPlayerName: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
{{FuncParam|player|The player identifier.}} | {{FuncParam|player|The player identifier.}} | ||
{{FuncReturnValue|Returns the Steam username as shown on their profile. Max length: 32}} | {{FuncReturnValue|Returns the Steam username as shown on their profile. Max length: 32. If [[SetPlayerName]] was called then it will return the value passed there.}} | ||
== Example == | == Example == |
Revision as of 10:56, 4 July 2019
Description
Get a players Steam nickname/username.
Syntax
GetPlayerName(player)
Parameters
- player
The player identifier.
Return Value
- Returns the Steam username as shown on their profile. Max length: 32. If SetPlayerName was called then it will return the value passed there.
Example
__EDIT_ME__
See also
__EDIT_ME__