Molotov without explosion request
5 Antworten



25.07.20 17:47:35
Anybody is able to reproduce this script?
https://youtu.be/s_KCXLD__GU
I tried this but it still instakill if you have less health than the damage of explosion.
https://youtu.be/s_KCXLD__GU
I tried this but it still instakill if you have less health than the damage of explosion.
Code:
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
addhook("hit","_hit")
function _hit(id,source,weapon,hpdmg,apdmg)
local hp = player(id,"health")
if weapon == 73 then
if hpdmg > 4 then
timer(0,"parse","sethealth "..id.." "..hp)
end
end
end
function _hit(id,source,weapon,hpdmg,apdmg)
local hp = player(id,"health")
if weapon == 73 then
if hpdmg > 4 then
timer(0,"parse","sethealth "..id.." "..hp)
end
end
end
CS2DBR Community - http://cs2dbr.tk
What happens in that script is basically removing the original projectile whenever a player attacks with it (
attack). Afterwards, you are just creating your own custom projectile and do anything with it.

Create your UI easy and fast: UI Framework | Go deeper into the darkness and test your bravery:
Outlast II Modification (28)


Here is the full script plus smoke extinguish flames.
Code:
1
broken
11× editiert, zuletzt 22.09.20 18:44:19
CS2DBR Community - http://cs2dbr.tk
CS2DBR Community - http://cs2dbr.tk



