zp_class_human_register_model
Registers a custom player model for a given human class.
Syntax
native zp_class_human_register_model(classid, const model[]) /** * Returns a human class' ID. * * @param name Class name to look for. * @return Internal human class ID, or ZP_INVALID_HUMAN_CLASS if not found. */ native zp_class_human_get_id(const real_name[]) /** * Returns a human class' name. * * @param classid A valid human 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_human_get_name(classid, name[], len) /** * Returns a human class' real name (used when registering the class). * * @param classid A valid human 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_human_get_real_name(classid, real_name[], len)
Usage
| classid | A valid human class ID. |
| model | Player model's short name. |
Return
True — on success, false otherwise.
Defined in
zp50_class_human.inc
at line 66
.
This documentation was automatically generated from source.