1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
gg={} gg[1]={x=1,y=3,msg="menu open!", func(id) menu(id,"Admin menu,commands,items,ban,kick") end } addhook("movetile","ggwalk") function ggwalk(id,x,y) for _,v in ipairs(gg) do if (x==v.x) and (y==v.y) then --Function of gg[1] ??? end end end
how can i use table func(id) function ??