zp_get_user_next_class

Returns a player's next zombie class ID (for the next infection).

Syntax

native zp_get_user_next_class(id) /** * Sets a player's next zombie class ID (for the next infection). * * @param id Player index. * @param classid A valid zombie class ID. * @return True on success, false otherwise. */ native zp_set_user_zombie_class(id, classid) /** * Returns a player's ammo pack count. * * @param id Player index. * @return Number of ammo packs owned. */ native zp_get_user_ammo_packs(id) /** * Sets a player's ammo pack count. * * @param id Player index. * @param amount New quantity of ammo packs owned. */ native zp_set_user_ammo_packs(id, amount) /** * Returns the default maximum health of a zombie. *

Usage

id Player index.

Return

Internal — zombie class ID, or -1 if not yet chosen.

Defined in zombieplague.inc at line 150 . This documentation was automatically generated from source.