/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <zombieplague>
#include <fun>

#define PLUGIN "Granade"
#define VERSION "1.0"
#define AUTHOR "AlexNov"



new g_itemid1

public plugin_init()
{
register_plugin("[ZP] Extra Item: Гранаты", "0.1", "Example") 
g_itemid1 = zp_register_extra_item("Пак гранат", 6, ZP_TEAM_HUMAN)

}

public zp_extra_item_selected(player, itemid)
{
// check if the selected item matches any of our registered ones
if (itemid == g_itemid1)
give_item(player, "weapon_smokegrenade")
give_item(player, "weapon_flashbang")
give_item(player, "weapon_flashbang")
give_item(player, "weapon_hegrenade")
client_print(player, print_chat, "[ZP] Вы можете купить пак гранат зайдя в магазин! Плагин сделан AlexNov. СПЕЦИАЛЬНО ДЛЯ ZOMBIE-MOD.RU")
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1049\\ f0\\ fs16 \n\\ par }
*/
