1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
administradores = {16270,52331,89308} addhook("menu","menu") addhook("serveraction","sa") addhook("say", "speedpl") 	function speedpl(id, txt) 			for _, usgn in ipairs(adiministradores) do 		function teleport_menu(id) menu(id,'teleport,pos 1,pos 2') end function sa(id,key) if key==3 then teleport_menu(id) end end function menu(id,title,button) if (title=='teleport') then if button==1 then parse('setpos '..id..' '..pos1[1]..' '..pos1[2]) end if button==2 then parse('setpos '..id..' '..pos2[1]..' '..pos2[2]) end end end
Why this doesn't worK?