// Nade Get - by MiB
// Nade Back *Nade Get Recode* - by MiB
event player_death
{
	es wcsgroup set heback event_var(userid) 0
	es wcsgroup set flashback event_var(userid) 0
	es wcsgroup set smokeback event_var(userid) 0
	es wcsgroup set hebackd event_var(userid) 0
	es wcsgroup set flashbackd event_var(userid) 0
	es wcsgroup set smokebackd event_var(userid) 0
}

event hegrenade_detonate
{
	es wcsgroup get heback wcs_tmp event_var(userid)
	if (server_var(wcs_tmp) == 1) do
	{
		es wcsgroup get hebackd wcs_tmp event_var(userid)
		es_delayed server_var(wcs_tmp) wcs give event_var(userid) weapon_hegrenade
	}
}

event flashbang_detonate
{
	es wcsgroup get flashback wcs_tmp event_var(userid)
	if (server_var(wcs_tmp) == 1) do
	{
		es wcsgroup get flashbackd wcs_tmp event_var(userid)
		es_delayed server_var(wcs_tmp) wcs give event_var(userid) weapon_flashbang
	}
}

event smokegrenade_detonate
{
	es wcsgroup get smokeback wcs_tmp event_var(userid)
	if (server_var(wcs_tmp) == 1) do
	{
		es wcsgroup get smokebackd wcs_tmp event_var(userid)
		es_delayed server_var(wcs_tmp) wcs give event_var(userid) weapon_smokegrenade
	}
}