SetPickupScale

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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