SetPlayerName

From Onset Developer Wiki
Revision as of 10:57, 4 July 2019 by BlueMountains (talk | contribs) (Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|Sets a players name which will appear on the nametag. Overrides the Steam nickname.}} {{FuncSyntax|SetPlayerName(player, name)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetPlayerName

Type: Function
Context: Server
Introduced: v1.0

Description

Sets a players name which will appear on the nametag. Overrides the Steam nickname.

Syntax

SetPlayerName(player, name)

Parameters

  • player
    The player identifier.
  • name
    The new name to set for the player.

Return Value

  • __EDIT_ME__

Example

__EDIT_ME__

See also

__EDIT_ME__