addhook fails in some cases. I'll write in code:1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
tbl={}
tbl[1]=function() print("test") end
addhook("second","tbl[1]") --causes 'attempt to call a nil value'
tbl={}
tbl[1]={}
tbl[1].test=function() print("test") end
addhook("second","tbl[1].test") --crashes CS2D without warning or error
CS2D 0.1.2.0 Bugs report


Offline
and you were the next replier.
palomino