zp_register_zombie_class
No description available for this symbol.
Syntax
native zp_register_zombie_class(const name[], const info[], const model[], const clawmodel[], hp, speed, Float:gravity, Float:knockback = 0.0, adminflags = ADMIN_ALL, credits = 0 ) /** * Returns a zombie classes cost. * * @param classid A valid zombie class ID. */ native bb_get_class_cost(classid) /** * Returns a player's current zombie class ID. * * @param id Player index. * @return Internal zombie class ID, or -1 if not yet chosen. */ 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). *
Usage
| name | — |
| info | — |
| model | — |
| clawmodel | — |
| hp | — |
| speed | — |
| gravity | — |
| knockback | — |
| adminflags | — |
| credits | — |
Defined in
basebuilder.inc
at line 79
.
This documentation was automatically generated from source.