GetPlayerDimension: Difference between revisions
From Onset Developer Wiki
No edit summary |
|||
Line 12: | Line 12: | ||
== Example == | == Example == | ||
<syntaxhighlight Lang="Lua"> | <syntaxhighlight Lang="Lua"> | ||
print(GetPlayerDimension(1)) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[SetPlayerDimension]] | * [[SetPlayerDimension]] |
Latest revision as of 18:59, 27 December 2019
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))