SetPickupScale

From Onset Developer Wiki
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