bb_set_user_zombie_class

Sets a player's next zombie class ID (when they respawn).

Syntax

native bb_set_user_zombie_class(id, classid) native zp_set_user_zombie_class(id, classid) /** * Returns whether a player is a zombie. * * @param id Player index. * @return True if it is, false otherwise. */ native bb_is_user_zombie(id) native zp_get_user_zombie(id) /** * Returns whether a player is banned from building. * * @param id Player index. * @return True if it is, false otherwise. */ native bb_is_user_banned(id) /** * Returns whether the game is still in the build phase. * * @param id Player index. * @return True if it is, false otherwise. */ native bb_is_build_phase() /** * Returns whether the game is in the preparation phase.

Usage

id Player index.
classid A valid zombie class ID.

Return

True — on success, false otherwise.

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