warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
DestroyPickup
คำอธิบาย
Destroys a pickup created with CreatePickup.
Name | Description |
---|---|
pickup | The ID of the pickup to destroy (returned by CreatePickup). |
ส่งคืน
This function does not return any specific values.
ตัวอย่าง
// Create a pickup for armor.
pickup_armour = CreatePickup ( 1242, 2, 1503.3359, 1432.3585, 10.1191 );
//some time later...
DestroyPickup(pickup_armour);
ฟังก์ชั่นที่เกี่ยวข้องกัน
- CreatePickup: Create a pickup.
- OnPlayerPickUpPickup: Called when a player picks up a pickup.