GetPickupLocation

From Onset Developer Wiki
GetPickupLocation

Type: Function
Context: Client
Introduced: v1.0

Description

Get the specified pickup's XYZ vectors (location).

Syntax

GetPickupLocation(pickupid)

Parameters

  • pickupid
    The pickup identifier.

Return Value

  • This function returns the XYZ vectors for the specified vectors.

Example

local x, y, z = GetPickupLocation(pickupid)

See also