DestroyPickup

From SA-MP Wiki

Jump to: navigation, search


Description:

Destroys a pickup created with CreatePickup.


Parameters:
(pickup)
pickupThe ID of the pickup to destroy (returned by CreatePickup).


Return Values:

This function does not return any specific values.


Example Usage:

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

Related Functions

The following functions may be useful, as they are 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.

Personal tools
Navigation
Toolbox
In other languages