zp_class_human_get_count
Returns number of registered human classes.
Syntax
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) * - ZP_CLASS_DONT_SHOW (don't show in menu, don't allow selection) * * @param id Player index. * @param classid Internal human class ID. */ forward zp_fw_class_human_select_pre(id, classid)
Return
Human — class count.
Defined in
zp50_class_human.inc
at line 111
.
This documentation was automatically generated from source.