zp_get_gamemode_id
No description available for this symbol.
Syntax
native zp_get_gamemode_id(name[]) // Get Game mode index by name // New Natives (3.5 Version or Higher Available) native zp_is_escape_map() // Get Current Map is Escape Map native zp_do_random_spawn(id) // Teleport User to Spawn /** * 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. * * @param name Caption to display on the menu. * @param info Brief description of the class. * @param model Player model to be used. * @param clawmodel Claws model to be used. * @param hp Initial health points. * @param speed Maximum speed. * @param gravity Gravity multiplier. * @param knockback Knockback multiplier. * @return An internal zombie class ID, or -1 on failure. */ native zp_register_zombie_class(const name[], const info[], const model[], const clawmodel[], hp, speed, Float:gravity, Float:knockback) /** * Called when the ZP round starts, i.e. first zombie * is chosen or a game mode begins. * * @param gamemode Mode which has started. * @param id Affected player's index (if applicable).
Usage
| name | — |
Defined in
zombie_plague_special.inc
at line 749
.
This documentation was automatically generated from source.