1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
addhook("serveraction","menu") function menu(id,act) if act == 1 then if rank(admin,id) then menu(id,"Menu,button,button,button,button,button") else 	 msg2(id,"You don't have permisson to do that!") end end
On line 4 is where the problem is, if i take away the code on line 4 it all works.
When i start the server up it just crashes if line 4 is there.