native
zp_class_zombie_register
Syntax
native zp_class_zombie_register(const name[], const description[], health, Float:speed, Float:gravity)
Description
Registers a custom class which will be added to the zombie classes menu of ZP.
Note: The returned zombie class ID can be later used to identify
the class when calling the zp_get_user_zombie_class() natives.
Parameters
| name | Caption to display on the menu. |
|---|---|
| description | Brief description of the class. |
| health | Class health. |
| speed | Class maxspeed (can be a multiplier). |
| gravity | Class gravity multiplier. |
Return
An internal zombie class ID, or ZP_INVALID_ZOMBIE_CLASS on failure.