zp_class_human_get_desc

Returns a human class' description.

Syntax

native zp_class_human_get_desc(classid, description[], len) /** * Returns number of registered human classes. * * @return Human class count. */ native zp_class_human_get_count() /** * Shows menu with available human classes to a player. * * @param id Player index. */ native zp_class_human_show_menu(id) /** * Appends text to a class being displayed on the human classes menu. * Use this on the class select pre forward. * * @param text Additional text to display. */ native zp_class_human_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 human class ID.
description The buffer to store the string in.
len Character size of the output buffer.

Return

True — on success, false otherwise.

Defined in zp50_class_human.inc at line 104 . This documentation was automatically generated from source.