GUIEditor = {
edit = {}
}
addEventHandler(\"onClientResourceStart\", resourceRoot,
editBox = guiCreateEdit(0.27, 0.40, 0.09, 0.02, \"Karaktered Neve\", true)
guiSetProperty(editBox, \"NormalTextColour\", \"FF1227AB\")
local editBoxText = guiGetText(editBox)
local karaktername = editBoxText
)
addEventHandler(\"onClientResourceStart\", resourceRoot,
local screenW, screenH = guiGetScreenSize()
addEventHandler(\"onClientRender\", root,
function()
dxDrawRectangle(screenW * 0.2224, screenH * 0.3407, screenW * 0.2036, screenH * 0.4574, tocolor(0, 0, 0, 255), false)
dxDrawRectangle(screenW * 0.2219, screenH * 0.3380, screenW * 0.2042, screenH * 0.0222, tocolor(18, 39, 171, 255), false)
dxDrawText(\"Blue Life - Karakter Készítő Rendszer\", screenW * 0.2224, screenH * 0.3380, screenW * 0.4260, screenH * 0.3602, tocolor(255, 255, 255, 255), 1.00, \"default\", \"center\", \"center\", false, false, true, false, false)
dxDrawText(\"Karakter Neve:\", screenW * 0.2260, screenH * 0.3954, screenW * 0.2677, screenH * 0.4111, tocolor(255, 255, 255, 255), 1.00, \"default\", \"left\", \"center\", false, false, false, false, false)
dxDrawRectangle(screenW * 0.3005, screenH * 0.7481, screenW * 0.0474, screenH * 0.0407, tocolor(18, 39, 171, 255), false)
dxDrawText(\"Tovább\", screenW * 0.3135, screenH * 0.7611, screenW * 0.3354, screenH * 0.7750, tocolor(255, 255, 255, 255), 1.00, \"default\", \"left\", \"bottom\", false, false, false, false, false)
dxDrawText(\"A neved szóközzel válaszd el!\", (screenW * 0.2292) - 1, (screenH * 0.4231) - 1, (screenW * 0.4089) - 1, (screenH * 0.4398) - 1, tocolor(28, 68, 160, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved szóközzel válaszd el!\", (screenW * 0.2292) + 1, (screenH * 0.4231) - 1, (screenW * 0.4089) + 1, (screenH * 0.4398) - 1, tocolor(28, 68, 160, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved szóközzel válaszd el!\", (screenW * 0.2292) - 1, (screenH * 0.4231) + 1, (screenW * 0.4089) - 1, (screenH * 0.4398) + 1, tocolor(28, 68, 160, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved szóközzel válaszd el!\", (screenW * 0.2292) + 1, (screenH * 0.4231) + 1, (screenW * 0.4089) + 1, (screenH * 0.4398) + 1, tocolor(28, 68, 160, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved szóközzel válaszd el!\", screenW * 0.2292, screenH * 0.4231, screenW * 0.4089, screenH * 0.4398, tocolor(255, 255, 255, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved min. 2 \\\"szóból\\\" álljon!\", (screenW * 0.2292) - 1, (screenH * 0.4454) - 1, (screenW * 0.4089) - 1, (screenH * 0.4620) - 1, tocolor(28, 68, 160, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved min. 2 \\\"szóból\\\" álljon!\", (screenW * 0.2292) + 1, (screenH * 0.4454) - 1, (screenW * 0.4089) + 1, (screenH * 0.4620) - 1, tocolor(28, 68, 160, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved min. 2 \\\"szóból\\\" álljon!\", (screenW * 0.2292) - 1, (screenH * 0.4454) + 1, (screenW * 0.4089) - 1, (screenH * 0.4620) + 1, tocolor(28, 68, 160, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved min. 2 \\\"szóból\\\" álljon!\", (screenW * 0.2292) + 1, (screenH * 0.4454) + 1, (screenW * 0.4089) + 1, (screenH * 0.4620) + 1, tocolor(28, 68, 160, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved min. 2 \\\"szóból\\\" álljon!\", screenW * 0.2292, screenH * 0.4454, screenW * 0.4089, screenH * 0.4620, tocolor(255, 255, 255, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved nem lehet híresség neve!\", (screenW * 0.2292) - 1, (screenH * 0.4667) - 1, (screenW * 0.4260) - 1, (screenH * 0.4861) - 1, tocolor(28, 68, 160, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved nem lehet híresség neve!\", (screenW * 0.2292) + 1, (screenH * 0.4667) - 1, (screenW * 0.4260) + 1, (screenH * 0.4861) - 1, tocolor(28, 68, 160, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved nem lehet híresség neve!\", (screenW * 0.2292) - 1, (screenH * 0.4667) + 1, (screenW * 0.4260) - 1, (screenH * 0.4861) + 1, tocolor(28, 68, 160, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved nem lehet híresség neve!\", (screenW * 0.2292) + 1, (screenH * 0.4667) + 1, (screenW * 0.4260) + 1, (screenH * 0.4861) + 1, tocolor(28, 68, 160, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
dxDrawText(\"A neved nem lehet híresség neve!\", screenW * 0.2292, screenH * 0.4667, screenW * 0.4260, screenH * 0.4861, tocolor(255, 255, 255, 255), 0.70, \"bankgothic\", \"left\", \"top\", false, false, false, false, false)
end
)
function dobozbaVan(dX, dY, dSZ, dM, eX, eY)
if(eX >= dX and eX <= dX+dSZ and eY >= dY and eY <= dY+dM) then
return true
else
return false
end
end
addEventHandler(\"onClientClick\", getRootElement(), function(gomb, allapot, absX, absY)
if allapot == \"down\" and gomb == \"left\" then
if dobozbaVan(screenW * 0.3005, screenH * 0.7481, screenW * 0.0474, screenH * 0.0407, absX, absY) then
outputChatBox(\"Mükszik!\")
outputChatBox(\"Mükszik!\"..karaktername)
end
end
end
)
Nem tudom mi a hiba! Valaki segitene? Itt a debugscript:
ERROR:Loading Script Failed: create-play:7: \')\' expected (to close \'(\' at line 5) near \'=\'