DestroyPickup

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 19:48, 21 June 2012
Smithy (Talk | contribs)

← Previous diff
Revision as of 01:05, 5 February 2014
Connor Mead (Talk | contribs)

Next diff →
Line 1: Line 1:
{{Scripting}} {{Scripting}}
-{{Title}} 
{{Description|Destroys a pickup created with [[CreatePickup]].}} {{Description|Destroys a pickup created with [[CreatePickup]].}}
Line 24: Line 23:
[[Category:Scripting Functions]] [[Category:Scripting Functions]]
 +
 +[[fr:DestroyPickup]]

Revision as of 01:05, 5 February 2014



Description:

Destroys a pickup created with CreatePickup.


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


Return Values:

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);

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.

In other languages