Pum/Functions/pumPowerupManager DestroyAllByClass

From Multi Theft Auto: Wiki
Revision as of 20:57, 23 January 2012 by Winky- (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Dialog-information.png This article is (partially) outdated and the information may no longer apply.

This function destroys all created powerups of a certain type (class).

Syntax

Click to collapse [-]
Server
void pumPowerupManager_DestroyAllByClass( string powerup_class )

Required Arguments

  • powerup_class: The name of the powerup class to destroy

Example

Click to collapse [-]
Server

This example destroys all created powerups named "healthbonus"

pumPowerupManager_DestroyAllByClass(healthbonus)

See Also

PowerupManager functions

Powerup functions

PowerupHelper functions