DestroyPickup

From SA-MP Wiki

Jump to: navigation, search

DestroyPickup


Destroys a pickup created with CreatePickup.


Parameters:
(pickupid)
pickupidThe ID of the pickup to be destroyed.


This function does not return a specific value, it's best to simply ignore it.


// Create a pickup for armor.
pickup = CreatePickup ( 1242, 2, 1503.3359, 1432.3585, 10.1191 );
 
//some time later...
DestroyPickup(pickup);

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.


Related Callbacks

The following callbacks might be useful, as they're related to this function in one way or another.