lua kodu doğru yazsamda çalışmıyor. |
0 | ||
kodu yazdığımda sonra tamam a bastığımda hiç birşey olmuyor. ekranda kalıyor. Lua kodu: tA = ui.addTextArea function ui.addTextArea(i, m, n, x, y, w, h, c1, c2, o, f, ce, tfm, s, tfm2) if ce then x = x - w / 2 y = y - h / 2 end if tfm then c1 = 0x324650 c2 = c1 o = 1 tA(i+34000, "", n, x-1, y-1, w, h, 0x648FA4, 0x648FA4, o, f) tA(i+44000, "", n, x+1, y+1, w, h, 0x12171C, 0x12171C, o, f) end if tfm2 then c1, c2, o, m = 0x324650, 0x27373F, 1, "\n"..m tA(i, m, n, x, y, w, h, c1, c2, o, f) tA(i+99000, "", n, x-5, y-5, w+10, 12, 0x27373F, 0x27373F, 1, f) tA(i+99001, "<V><b><font size='15'>"..tfm2.."</font></b>", n, x-5, y-10, w+10, nil, 0, 1, 0, f) tA(i+99002, "", n, x+w-5, y-3, 8, 8, 0x009D9D, 0x009D9D, 1, f) tA(i+99003, "<p align='center'><font size='17' color='#324650'><b><a href='event:close'>×", n, x+w-10, y-12, nil, nil, 0, 0, 0, f) end if s then local a = m:gsub("color='(.-)'", "") tA(i+10001, "<font color='#1'>"..a, n, x+1, y, w, h, 0, 1, 0, f) tA(i+10002, "<font color='#1'>"..a, n, x-1, y, w, h, 0, 1, 0, f) tA(i+10003, "<font color='#1'>"..a, n, x, y+1, w, h, 0, 1, 0, f) tA(i+10004, "<font color='#1'>"..a, n, x, y-1, w, h, 0, 1, 0, f) tA(i+10005, "<font color='#1'>"..a, n, x+1, y-1, w, h, 0, 1, 0, f) tA(i+10006, "<font color='#1'>"..a, n, x-1, y-1, w, h, 0, 1, 0, f) tA(i+10007, "<font color='#1'>"..a, n, x+1, y+1, w, h, 0, 1, 0, f) tA(i+10008, "<font color='#1'>"..a, n, x-1, y+1, w, h, 0, 1, 0, f) end tA(tfm2 and i+99004 or i, m, n, x, y, w, h, c1, c2, tfm2 and 0 or o, f) end |
1 | ||
Lua kodlarıyla ilgili yardım almak için lütfen bu konuyu kullanıp gereksiz konu açmayın. |