zp_class_zombie_get_kb
Returns a zombie class' knockback multiplier.
Syntax
native Float:zp_class_zombie_get_kb(classid) /** * Returns number of registered zombie classes. * * @return Zombie class count. */ native zp_class_zombie_get_count() /** * Shows menu with available zombie classes to a player. * * @param id Player index. */ native zp_class_zombie_show_menu(id) /** * Appends text to a class being displayed on the zombie classes menu. * Use this on the class select pre forward. * * @param text Additional text to display. */ native zp_class_zombie_menu_text_add(const text[]) /** * Called when determining whether a class should be available to a player. * * Possible return values are: * - ZP_CLASS_AVAILABLE (show in menu, allow selection) * - ZP_CLASS_NOT_AVAILABLE (show in menu, don't allow selection)
Usage
| classid | A valid zombie class ID. |
Return
Knockback — multiplier (float value).
Defined in
zp50_class_zombie.inc
at line 140
.
This documentation was automatically generated from source.