SetPickupScale

From Onset Developer Wiki
Revision as of 18:20, 30 August 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetPickupScale

Type: Function
Context: Server
Introduced: v1.0

Description

Set's the size scaling of the pickup.

Syntax

SetPickupScale(pickup, sx, sy, sz)

Parameters

  • pickup
    The pickup identifier.
  • sx
    The scale X axis
  • sy
    The scale Y axis
  • sz
    The scale Z axis

Return Value

  • Returns true on success.

Example

local pickup = CreatePickup(1, x, y, z)
SetPickupScale(pickup, 10.0, 10.0, 10.0)

See also