zp_set_user_zombie_class
Sets a player's next zombie class ID (for the next infection).
Syntax
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. * * Note: Takes into account first zombie's HP multiplier. * * @param id Player index. * @return Maximum amount of health points, or -1 if not a normal zombie. */ native zp_get_zombie_maxhealth(id) /** * Returns a player's custom flashlight batteries charge.
Usage
| id | Player index. |
| classid | A valid zombie class ID. |
Return
True — on success, false otherwise.
Defined in
zombieplaguenew1.3.inc
at line 124
.
This documentation was automatically generated from source.