bb_round_started

Sets a multiplier for a class (for use with credits add-on)

Syntax

forward bb_round_started() /** * Called when the preparation phase begins * at the end of the build phase, before zombie release */ forward bb_prepphase_started() /** * Called when the build phase begins * When the round starts (logevent) */ forward bb_buildphase_started() /** * Called when a player picks his NEXT zombie class * * @param id Player index forwarding the event. * @param class Class index picked */ forward bb_zombie_class_picked(id, class) /** * Called when a player has his CURRENT class applied. (respawn) * * @param id Player index forwarding the event. * @param class Class index picked */ forward bb_zombie_class_set(id, class)

Usage

id Player index.
attribute Attribute enum to change
amount Float value hat will multiply by

Return

Returns — 1 if successful, 0 if not

Defined in basebuilder.inc at line 274 . This documentation was automatically generated from source.