GetPlayerDimension: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|Gets the dimension of this player.}} {{FuncSyntax|GetPlayerDimension(player)}} {{FuncParameters}} {{FuncParam|player|The play..." |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server|1.0}} | ||
{{FuncDescription|Gets the dimension of this player | {{FuncDescription|Gets the dimension of this player set with [[SetPlayerDimension]]}} | ||
{{FuncSyntax|GetPlayerDimension(player)}} | {{FuncSyntax|GetPlayerDimension(player)}} | ||
Line 11: | Line 11: | ||
== Example == | == Example == | ||
<syntaxhighlight Lang="Lua"> | |||
print(GetPlayerDimension(1)) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[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))