Pickup.Remove

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events


This Pickup class member removes the given pickup.

Syntax

  1. bool pickup.Remove()

Example

This will remove the pickup that the player just collected.

  1.  
  2. function onPickupPickedUp( pPlayer, pPickup )
  3. {
  4. pPickup.Remove();
  5. return 1;
  6. }
  7.  

Notes

The event onPickupPickedUp was used in this example. More info about this in the corresponding page.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox