zp_get_sniper_count
Returns number of alive snipers.
Syntax
native zp_get_sniper_count() /** * Returns number of alive assassins. * * @return Assassin count. */ native zp_get_assassin_count() /** * Registers a custom item which will be added to the extra items menu of ZP. * * Note: The returned extra item ID can be later used to catch item * purchase events for the zp_extra_item_selected() forward. * * Note: ZP_TEAM_NEMESIS, ZP_TEAM_SURVIVOR, ZP_TEAM_ASSASSIN and ZP_TEAM_SNIPER * can be used to make an item available to Nemesis, * Survivors, Assassins and Snipers. * * @param name Caption to display on the menu. * @param cost Ammo packs to be deducted on purchase. * @param teams Bitsum of teams it should be available for. * @return An internal extra item ID, or -1 on failure. */ native zp_register_extra_item(const name[], cost, teams) /** * Registers a custom class which will be added to the zombie classes menu of ZP. *
Return
Sniper — count.
Defined in
zombieplaguenew1.3.inc
at line 375
.
This documentation was automatically generated from source.