SetPickupDimension

From Onset Developer Wiki
Revision as of 15:10, 7 January 2020 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetPickupDimension

Type: Function
Context: Server
Introduced: v1.0

Description

Sets the dimension of this pickup. Players can only see pickups in the same dimension.

  • Default dimension: 0
  • Maximum dimension: 4294967295

Syntax

SetPickupDimension(pickup, dimension)

Parameters

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

Return Value

  • Returns true on success.

Example

SetPickupDimension(pickup, 0) -- Set the pickup dimension to 0

See also