GetPlayerId

From Onset Developer Wiki
Revision as of 23:17, 10 December 2019 by Guewen (talk | contribs) (Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Return id of the player.}} {{FuncSyntax|GetPlayerId()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|Returns playeri...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetPlayerId

Type: Function
Context: Client
Introduced: v1.0

Description

Return id of the player.

Syntax

GetPlayerId()

Parameters

  • This function has no parameters.

Return Value

  • Returns playerid.

Example

local id = GetPlayerId()