DestroyPickup
From SA-MP Wiki
(Difference between revisions)
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.
(pickupid)
pickupid | The 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.
- CreatePickup: Create a pickup.
Related Callbacks
The following callbacks might be useful, as they're related to this function in one way or another.
- OnPlayerPickUpPickup: Called when a player picks up a pickup.