GetPlayerGUID: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetPlayerGUID(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|The player's unique identifier based on their computer.}}


{{FuncSyntax|GetPlayerGUID(player)}}
{{FuncSyntax|GetPlayerGUID(player)}}


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


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns the GUID unique to the player's computer.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua>
GetPlayerGUID(playerid)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:ServerFunctions}}

Revision as of 13:15, 20 November 2019

GetPlayerGUID

Type: Function
Context: Server
Introduced: v1.0

Description

The player's unique identifier based on their computer.

Syntax

GetPlayerGUID(player)

Parameters

  • player
    The player identifier.

Return Value

  • Returns the GUID unique to the player's computer.

Example

GetPlayerGUID(playerid)

See also

index.lua

Game

Colors

Miscellaneous

Time

Server

Explosion

Door

Network

NPC

Object

Package

Event

Pickup

Player

Text3D

Timer

Vehicles

HTTP