GetPickupLocation

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.
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