GetPlayerDimension: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
Guewen (talk | contribs)
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight Lang="Lua">
print(GetPlayerDimension(1))
</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