Forum
CS2D Scripts Disable specific weapon id's from droppingDisable specific weapon id's from dropping
2 replies 1
1
2
3
4
5
6
2
3
4
5
6
addhook("die","dont_drop_glocks") function dont_drop_glocks(victim,killer,weapon) 	if (weapon==2) then 	parse("strip "..victim.." "..2.."") 	end end
1
2
3
4
5
2
3
4
5
addhook("drop", "_drop") function _drop(p, i, t) 	if t == 1 and player(p, "health") == 0 then return 1 end end
This will work as well.
1