bb_get_user_zombie_class
Returns a player's current zombie class ID.
Syntax
native bb_get_user_zombie_class(id) native zp_get_user_zombie_class(id) /** * Returns a player's next zombie class ID (when they respawn). * * @param id Player index. * @return Internal zombie class ID, or -1 if not yet chosen. */ 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)
Usage
| id | Player index. |
Return
Internal — zombie class ID, or -1 if not yet chosen.
Defined in
basebuilder.inc
at line 94
.
This documentation was automatically generated from source.