SetPlayerDimension

From Onset Developer Wiki
Revision as of 14:20, 23 November 2019 by BlueMountains (talk | contribs)
SetPlayerDimension

Type: Function
Context: Server
Introduced: v1.0

Description

Sets the dimension (Virtual World) of this player. Players can only see players in the same dimension.

  • Default dimension: 0
  • Maximum dimension: 4294967295

You should set the players voice dimension as well SetPlayerVoiceDimension.

Syntax

SetPlayerDimension(player, dimension)

Parameters

  • player
    The player identifier.
  • dimension
    The new dimension to set.

Return Value

  • This function returns nothing.

Example

__EDIT_ME__

See also

Template:DimensionFunctions