zp_class_zombie_register_kb
Registers a zombie class' knockback multiplier.
Syntax
native zp_class_zombie_register_kb(classid, Float:knockback) /** * Returns a zombie class' ID. * * @param name Class name to look for. * @return Internal zombie class ID, or ZP_INVALID_ZOMBIE_CLASS if not found. */ native zp_class_zombie_get_id(const real_name[]) /** * Returns a zombie class' name. * * @param classid A valid zombie class ID. * @param name The buffer to store the string in. * @param len Character size of the output buffer. * @return True on success, false otherwise. */ native zp_class_zombie_get_name(classid, name[], len) /** * Returns a zombie class' real name (used when registering the class). * * @param classid A valid zombie class ID. * @param name The buffer to store the string in. * @param len Character size of the output buffer. * @return True on success, false otherwise. */ native zp_class_zombie_get_real_name(classid, real_name[], len)
Usage
| classid | A valid zombie class ID. |
| knockback | Knockback multiplier. |
Return
True — on success, false otherwise.
Defined in
zp50_class_zombie.inc
at line 94
.
This documentation was automatically generated from source.