GetPlayerName: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetPlayerName(player)}} {{FuncParameters}} {{FuncParam|player|__EDIT_ME__}} {{FuncReturnValue|__E..."
 
No edit summary
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Get a players Steam nickname/username.}}


{{FuncSyntax|GetPlayerName(player)}}
{{FuncSyntax|GetPlayerName(player)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|player|__EDIT_ME__}}
{{FuncParam|player|The player identifier.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns the Steam username as shown on their profile. Max length: 32}}


== Example ==
== Example ==

Revision as of 12:55, 3 July 2019

GetPlayerName

Type: Function
Context: Server
Introduced: v1.0

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

Example

__EDIT_ME__

See also

__EDIT_ME__