Pum/Functions/pumPowerupManager DestroyAllByClass: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: {{Server function}} __NOTOC__ This function destroys all created powerups of a certain type (class). ==Syntax== <section name="Server" class="both" show="true"> <syntaxhighlight lang="lua">void pumPower...)
(No difference)

Revision as of 22:14, 16 September 2007

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