// Csak deagle
// Verzi: 1.0
// ES: 1.5 vagy nagyobb

block load
{
	es_setinfo csak_deagle 1
	es_setinfo csak_deagle_ver "v1.1"
	es_makepublic csak_deagle
	es_makepublic csak_deagle_ver
	es_centermsg A kvetkez krtl csak DEAGLE -t hasznlhatsz!!!
	es_msg #multi #green[Csak DEAGLE!]#defaultA kvetkez krtl csak DEAGLE -t hasznlhatsz!!
	es es_xcexec_all play npc/overwatch/radiovoice/attention.wav
	mp_buytime 0.25
	bot_allow_grenades 0
	bot_allow_shotguns 0
	bot_allow_rifles 0
	bot_allow_snipers 0
	bot_allow_machine_guns 0
	bot_allow_sub_machine_guns 0
}

event round_start
{
	es_centermsg Csak DEAGLE-t hasznlhatsz!!!!!
	es es_xcexec_all play buttons/weapon_cant_buy.wav
	mp_buytime 0.25
}

event player_spawn
{
	es_delayed .3 es_give event_var(userid) player_weaponstrip
	es_delayed .3 es_fire event_var(userid) player_weaponstrip Strip 1
	es_delayed .4 ent_remove_all weapon_awp 
	es_delayed .4 ent_remove_all weapon_g3sg1 
	es_delayed .4 ent_remove_all weapon_sg550 
	es_delayed .4 ent_remove_all weapon_galil 
	es_delayed .4 ent_remove_all weapon_ak47 
	es_delayed .4 ent_remove_all weapon_scout 
	es_delayed .4 ent_remove_all weapon_sg552 
	es_delayed .4 ent_remove_all weapon_famas 
	es_delayed .4 ent_remove_all weapon_m4a1 
	es_delayed .4 ent_remove_all weapon_aug 
	es_delayed .4 ent_remove_all weapon_glock 
	es_delayed .4 ent_remove_all weapon_usp 
	es_delayed .4 ent_remove_all weapon_p228  
	es_delayed .4 ent_remove_all weapon_elite 
	es_delayed .4 ent_remove_all weapon_fiveseven 
	es_delayed .4 ent_remove_all weapon_m3 
	es_delayed .4 ent_remove_all weapon_xm1014 
	es_delayed .4 ent_remove_all weapon_mac10 
	es_delayed .4 ent_remove_all weapon_tmp 
	es_delayed .4 ent_remove_all weapon_mp5navy 
	es_delayed .4 ent_remove_all weapon_ump45 
	es_delayed .4 ent_remove_all weapon_p90 
	es_delayed .4 ent_remove_all weapon_m249 
	es_delayed .4 ent_remove_all weapon_flashbang 
	es_delayed .4 ent_remove_all weapon_hegrenade 
	es_delayed .4 ent_remove_all weapon_smokegrenade 
	es_delayed .6 es_give event_var(userid) item_assaultsuit
	es_delayed .6 es_give event_var(userid) weapon_deagle
	es_delayed .8 playerset ammo event_var(userid) weapon_deagle 100
}

block unload
{
	mp_buytime 1.25
	bot_allow_grenades 1
	bot_allow_shotguns 1
	bot_allow_rifles 1
	bot_allow_snipers 1
	bot_allow_machine_guns 1
	bot_allow_sub_machine_guns 1
	es_centermsg A kvetkez krtl minden fegyvert hasznlhatsz!!!
	es_msg #multi #green[Csak DEAGLE!]#defaultA kvetkez krtl minden fegyvert hasznlhatsz!!!
	es es_xcexec_all play npc/overwatch/radiovoice/attention.wav
}	