/*================================================================================
	
	--------------------------------
	-*- [ZP] Survivor Aura Example -*-
	--------------------------------
	
================================================================================*/

#include <amxmodx>
#include <zombieplague>
#include <fakemeta_util>

// Item IDs
new g_itemid1

public plugin_init()
{
	register_plugin("[ZP] Survivor Aura", "1", "ILUSION")
	
	// Register the new items and store their IDs for reference
	g_itemid1 = zp_register_extra_item("Survivor Aura", 10, ZP_TEAM_HUMAN)
}

// Item Selected forward
public zp_extra_item_selected(player, itemid)
{
	// check if the selected item matches any of our registered ones
	if (itemid == g_itemid1)
		set_pev(player, pev_effects, pev(player, pev_effects) | EF_BRIGHTLIGHT)
}
