zp_class_human_show_menu

Shows menu with available human classes to a player.

Syntax

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)

Usage

id Player index.
Defined in zp50_class_human.inc at line 118 . This documentation was automatically generated from source.