SetText3DDimension

From Onset Developer Wiki
Revision as of 14:36, 21 February 2020 by 28days (talk | contribs) (Completed the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetText3DDimension

Type: Function
Context: Server
Introduced: v1.0

Description

Sets the dimension of this text3d. Players can only see 3D texts in the same dimension.

  • Default dimension: 0
  • Maximum dimension: 4294967295

Syntax

SetText3DDimension(text3d, dimension)

Parameters

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

Return Value

  • This function returns true on success.

Example

local text3d = CreateText3D("Only visible in Dimension 10", 12, -199349, -39353, 1021, 0.0, 0.0, 0.0)
SetText3DDimension(text3d, 10)

See also