GetPlayerDimension: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
Guewen (talk | contribs)
 
Line 12: Line 12:
== Example ==
== Example ==
<syntaxhighlight Lang="Lua">
<syntaxhighlight Lang="Lua">
Code
print(GetPlayerDimension(1))
</syntaxhighlight>
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
* [[SetPlayerDimension]]
* [[SetPlayerDimension]]

Latest revision as of 18:59, 27 December 2019

GetPlayerDimension

Type: Function
Context: Server
Introduced: v1.0

Description

Gets the dimension of this player set with SetPlayerDimension

Syntax

GetPlayerDimension(player)

Parameters

  • player
    The player identifier.

Return Value

  • Returns the dimension.

Example

print(GetPlayerDimension(1))

See also