GetPlayerName: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Client & Server|1.0}}


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

Revision as of 12:09, 5 November 2019

GetPlayerName

Type: Function
Context: Client & 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. If SetPlayerName was called then it will return the value passed there.

Example

__EDIT_ME__

See also

__EDIT_ME__