Spoiler
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
addhook("say","lshop") function lshop(id,txt) if (txt=="!lgtoys") then menu(id,"L.G > Toys menu,Devil|Angel|Fairy|Phoenix|Remove-Toys") end end addhook("menu","drshop2") function drshop2(id,title,button) if (title=="L.G > Toys menu") then if (button==1) then local id=image("gfx/skins menu/devil.png",1,0,201) imagealpha(id,1) end if (button==2) then local id2=image("gfx/skins menu/angel.png",1,0,201) imagealpha(id2,1) end if (button==3) then local id3=image("gfx/skins menu/fairy.png",1,0,201) imagealpha(id3,1) end if (button==4) then local id4=image("gfx/skins menu/phoenix.png",1,0,201) imagealpha(id4,1) end if (button==5) then imagealpha(id,0) imagealpha(id2,0) imagealpha(id3,0) imagealpha(id4,0) end end end addhook("minute","minDR") function minDR() msg("©255000000[L.G>]: Say !lgtoys to see toys list.") msg("©255000000[L.G>]: Say @say to Say a Important message.") end addhook("say","text") if (text == @say) then msg("©255255255"..player(id,"name").." (L.G> PlayerMessage) "..txt) end
the error is :
sys/lua/menusaylua.lua:1: unexpected symbol near '´'
edited 1×, last 15.03.17 07:21:07 pm