Ссылка на Сообщение
#1
13.3.2010, 13:58
Infinate Nades
CODE
Make new files under these headings, and place them in the mattie event script action folder:
weapon_fire.cfg
Code:
es_xsetinfo on 1
es_xsetinfo off 0
es_delayed .7 if (event_var(weapon) equalto "hegrenade") then es ma_give event_var(userid) weapon_knife
es_delayed .7 if (event_var(weapon) equalto "hegrenade") then es ma_give event_var(userid) weapon_hegrenade
es_delayed .8 if (event_var(weapon) equalto "hegrenade") then es_copy sv_cheats on
es_delayed .8 if (event_var(weapon) equalto "hegrenade") then ent_remove_all weapon_knife
es_delayed .8 if (event_var(weapon) equalto "hegrenade") then es_copy sv_cheats off
es_delayed .8 if (event_var(weapon) equalto "hegrenade") then es_cexec event_var(userid) slot4
round_start.cfg
Code:
es_xsetinfo on 1
es_xsetinfo off 0
es_delayed 1 es_copy sv_cheats on
es_delayed 1 ent_remove_all weapon_awp
es_delayed 1 ent_remove_all weapon_scout
es_delayed 1 ent_remove_all weapon_g3sg1
es_delayed 1 ent_remove_all weapon_sg550
es_delayed 1 ent_remove_all weapon_sg552
es_delayed 1 ent_remove_all weapon_aug
es_delayed 1 ent_remove_all weapon_ak47
es_delayed 1 ent_remove_all weapon_m4a1
es_delayed 1 ent_remove_all weapon_galil
es_delayed 1 ent_remove_all weapon_famas
es_delayed 1 ent_remove_all weapon_xm1014
es_delayed 1 ent_remove_all weapon_m3
es_delayed 1 ent_remove_all weapon_m249
es_delayed 1 ent_remove_all weapon_glock
es_delayed 1 ent_remove_all weapon_usp
es_delayed 1 ent_remove_all weapon_p228
es_delayed 1 ent_remove_all weapon_fiveseven
es_delayed 1 ent_remove_all weapon_deagle
es_delayed 1 ent_remove_all weapon_elite
es_delayed 1 ent_remove_all weapon_knife
es_delayed 1 es_copy sv_cheats off
player_spawn.cfg
Code:
es ma_setcash event_var(userid) 0
es ma_give event_var(userid) weapon_hegrenade
weapon_fire.cfg
Code:
es_xsetinfo on 1
es_xsetinfo off 0
es_delayed .7 if (event_var(weapon) equalto "hegrenade") then es ma_give event_var(userid) weapon_knife
es_delayed .7 if (event_var(weapon) equalto "hegrenade") then es ma_give event_var(userid) weapon_hegrenade
es_delayed .8 if (event_var(weapon) equalto "hegrenade") then es_copy sv_cheats on
es_delayed .8 if (event_var(weapon) equalto "hegrenade") then ent_remove_all weapon_knife
es_delayed .8 if (event_var(weapon) equalto "hegrenade") then es_copy sv_cheats off
es_delayed .8 if (event_var(weapon) equalto "hegrenade") then es_cexec event_var(userid) slot4
round_start.cfg
Code:
es_xsetinfo on 1
es_xsetinfo off 0
es_delayed 1 es_copy sv_cheats on
es_delayed 1 ent_remove_all weapon_awp
es_delayed 1 ent_remove_all weapon_scout
es_delayed 1 ent_remove_all weapon_g3sg1
es_delayed 1 ent_remove_all weapon_sg550
es_delayed 1 ent_remove_all weapon_sg552
es_delayed 1 ent_remove_all weapon_aug
es_delayed 1 ent_remove_all weapon_ak47
es_delayed 1 ent_remove_all weapon_m4a1
es_delayed 1 ent_remove_all weapon_galil
es_delayed 1 ent_remove_all weapon_famas
es_delayed 1 ent_remove_all weapon_xm1014
es_delayed 1 ent_remove_all weapon_m3
es_delayed 1 ent_remove_all weapon_m249
es_delayed 1 ent_remove_all weapon_glock
es_delayed 1 ent_remove_all weapon_usp
es_delayed 1 ent_remove_all weapon_p228
es_delayed 1 ent_remove_all weapon_fiveseven
es_delayed 1 ent_remove_all weapon_deagle
es_delayed 1 ent_remove_all weapon_elite
es_delayed 1 ent_remove_all weapon_knife
es_delayed 1 es_copy sv_cheats off
player_spawn.cfg
Code:
es ma_setcash event_var(userid) 0
es ma_give event_var(userid) weapon_hegrenade