When die it always show id 0
1
2
3
4
2
3
4
addhook("die","die_hook")
function die_hook(victim,killer,weapon,x,y)
	msg(victim)
end
EDIT:
victim and killer changed swapped
General
Die hook bug
Die hook bug
1

addhook("die","die_hook")
function die_hook(victim,killer,weapon,x,y)
	msg(victim)
end
function die_hook(killer,victim,weapon,x,y)
Joni And Friends:
RoDioN1322: Maybe
DC forget at it, at the information on cs2d.com(
die) the first param is victim but on the cs2d the first param is killer
Joni And Friends: Yes, but in old version cs2d the first param is victim not killer
RoDioN1322 has written
Joni And Friends: Yes, but in old version cs2d the first param is victim not killer
1
