ClaimPickup

From NPC for VCMP 0.4 Servers
Revision as of 16:48, 22 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 (not released yet) and will not work on previous versions. </poem> {{Welcome|desc=Triggers the Pickup pickedup event on server side.| params=<source>(pickupid)</source> <poem>pickupid : The ID of the pickup to be picked. If the player is not near the pickup, nothing happens. </poem>| retval=true, if the pickup exists and is streamed in. false, otherwise| rel...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function was added in v1.7 (not released yet) and will not work on previous versions.


Description:
Triggers the Pickup pickedup event on server side.


Parameters:

(pickupid)

pickupid : The ID of the pickup to be picked. If the player is not near the pickup, nothing happens.


Return Values:
This function does not return any specific values.



Related Functions

The following functions may be helpful as they relate to this function in one way or another.