bb_get_user_next_class

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

Syntax

native bb_get_user_next_class(id) native zp_get_user_next_class(id) /** * Sets a player's next zombie class ID (when they respawn). * * @param id Player index. * @param classid A valid zombie class ID. * @return True on success, false otherwise. */ 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)

Usage

id Player index.

Return

Internal — zombie class ID, or -1 if not yet chosen.

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