native zp_register_zombie_class(const name[], const info[], const model[], const clawmodel[], hp, speed, Float:gravity, Float:knockback)
name | Caption to display on the menu. |
info | Brief description of the class. |
model | Player model to be used. |
clawmodel | Claws model to be used. |
hp | Initial health points. |
speed | Maximum speed. |
gravity | Gravity multiplier. |
knockback | Knockback multiplier. |
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.
An internal zombie class ID, or -1 on failure.
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.