1
2
3
4
5
6
2
3
4
5
6
addhook("drop","tesst") function tesst(id,iid) 	if iid==78 then 	return 1 	end end
Maybe it's my VERY HARD LUA CODE OF 6 LINES.
Or maybe it's a CS2D bug (<-- I choose this one).
edited 2×, last 28.11.11 06:57:59 pm
addhook("drop","tesst") function tesst(id,iid) 	if iid==78 then 	return 1 	end end
addhook("drop","testdrop") function testdrop(id,iid,type) 	if type==78 then 		return 1 	else 		return 0 	end end
parse("removeitem "..iid)