Destroys a pickup created with CreatePickup.
|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.