GetPickupPos

From NPC for VCMP 0.4 Servers
Revision as of 07:06, 25 August 2023 by Habi (talk | contribs) (Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 beta and will not work in previous versions. </poem> {{Welcome|desc=Gets the position of a pickup| params=<source>(pickupid)</source> pickupid : The ID of the pickup to retrieve the position for.| retvals=A Vector containing the x, y, and z coordinates of the pickup's position.| }}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function was added in v1.7 beta and will not work in previous versions.


Description:
Gets the position of a pickup


Parameters:

(pickupid)

pickupid : The ID of the pickup to retrieve the position for.


Return Values:
A Vector containing the x, y, and z coordinates of the pickup's position.