native zp_class_human_register(const name[], const description[], health, Float:speed, Float:gravity)
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. |
Registers a custom class which will be added to the human classes menu of ZP. Note: The returned human class ID can be later used to identify the class when calling the zp_get_user_human_class() natives.
An internal human class ID, or ZP_INVALID_HUMAN_CLASS on failure.
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.