Game continues whether the bomb was exploded.
5 replies



31.07.14 09:36:14 am
Any one have this script? or no? I need it, is it possible? I wrote somes but didnt work, i mean in standard mode, when T planted the bom and... the game is not end (T win).
Sr, im bad English.
Sr, im bad English.

Yeah is:
after, go server and press "rmb" when take knife...
Is not thing you wanna, i guess, anyway it is.
Enjoi plez.
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
list = {} --add your shit usgn here
addhook("attack2","a2")
function a2(id,mode)
for _,usgn in ipairs(list) do
if player(id,"usgn")==usgn then
if player(id,"weapontype")==50 then
parse("spawnitem 63 "..player(id,"tilex").." "..player(id,"tiley"))
timer(5000,"bombexplode",id)
end
end
end
end
addhook("attack2","a2")
function a2(id,mode)
for _,usgn in ipairs(list) do
if player(id,"usgn")==usgn then
if player(id,"weapontype")==50 then
parse("spawnitem 63 "..player(id,"tilex").." "..player(id,"tiley"))
timer(5000,"bombexplode",id)
end
end
end
end
after, go server and press "rmb" when take knife...
Is not thing you wanna, i guess, anyway it is.
Enjoi plez.
Maybe you can extend the bomb timer and simulate it's explosion??
EDIT:
You can do something with these:
http://www.cs2d.com/help.php?cat=all&cmd=explosion#cmd
http://www.cs2d.com/help.php?hookcat=all&hook=bombplant#hook
http://www.cs2d.com/help.php?hookcat=all&hook=bombexplode#hook
EDIT:
You can do something with these:
http://www.cs2d.com/help.php?cat=all&cmd=explosion#cmd
http://www.cs2d.com/help.php?hookcat=all&hook=bombplant#hook
http://www.cs2d.com/help.php?hookcat=all&hook=bombexplode#hook



