Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.
Üzenetek - Eduka
Oldalak: 1 ... 5 6 [7] 8 9 ... 15
91
« Dátum: 2016. augusztus 07. - 20:06:08 »
.
92
« Dátum: 2016. augusztus 07. - 16:00:36 »
Az a baj, hogy ez a parancs nagyon rosszul van megcsinálva... Ha lesz időm, akkor kijavítom neked...
93
« Dátum: 2016. augusztus 07. - 15:59:14 »
dxDrawRectangle(X, Y, W, H, tocolor(255, 255, 255, 255), false) Amúgy a guiEditorban van egy lehetőség h relatívra rakd a felbontást, így mindenkinek ugyan ott lesz.
94
« Dátum: 2016. augusztus 07. - 12:22:25 »
X, Y, W, H, CursorX, CursorY
95
« Dátum: 2016. augusztus 07. - 11:22:22 »
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, statusz, absX, absY) if statusz == \"down\" and gomb == \"left\" then if dobozbaVan(x,y, w,h, absX, absY) then outputChatBox(\"Itt egy gomb van\") end end end
96
« Dátum: 2016. augusztus 06. - 22:39:16 »
Az-az igazság h soha nem voltam gui párti, hacsak nem loginpanelről vagy valami ilyesmiről szólt az egész. Esetleg setTimer-t használhatnál, de nem vagyok biztos abban, h ez a megfelelő ide... Ajánlanám a DX-et, guiEditorban ugyan úgy tudod használni és nem ilyen ronda... Lejárt lemez már a gui...(dx-ben is tudsz buttonokat létrehozni és sokkal szebben)
97
« Dátum: 2016. augusztus 06. - 22:36:35 »
Bocsi, nem láttam, mindjárt ránézek.
98
« Dátum: 2016. augusztus 06. - 21:35:00 »
ACL-ben adj neki jogot. <group name=\"Admin\"> <acl name=\"Moderator\"></acl> <acl name=\"SuperModerator\"></acl> <acl name=\"Admin\"></acl> <acl name=\"RPC\"></acl> <object name=\"resource.*\"></object> </group>
99
« Dátum: 2016. augusztus 06. - 19:34:24 »
Ha client oldalon dolgozol: function szoveg() for i=1, 10 do outputChatBox(\"Üdvözöllek!\", 255, 0, 0) end end addCommandHandler(\"teszt_szoveg\", szoveg) -- fölös a \"player\" Viszont ha szerver oldalon dolgozol: function szoveg(thePlayer) for i=1, 10 do outputChatBox(\"Üdvözöllek!\", thePlayer, 255, 0, 0) end end addCommandHandler(\"teszt_szoveg\", szoveg) És ha mindenkinek szeretnéd kiiratni szerver oldalon: function szoveg() for i=1, 10 do outputChatBox(\"Üdvözöllek!\", root, 255, 0, 0) end end addCommandHandler(\"teszt_szoveg\", szoveg) És kliens oldalon: function szoveg() for k, jatekosok in ipairs (getElementByType(\"player\")) do for i=1, 10 do outputChatBox(\"Üdvözöllek!\", 255, 0, 0) end end end addCommandHandler(\"teszt_szoveg\", szoveg)
100
« Dátum: 2016. augusztus 06. - 13:11:12 »
Egyetértek az előttem lévővel.
101
« Dátum: 2016. augusztus 06. - 13:09:59 »
Mert nincs frissítése.
102
« Dátum: 2016. augusztus 05. - 20:16:46 »
local pagestate = 1 GUIEditor = { button = {}, window = {}, progressbar = {}, gridlist = {}, label = {} } addEventHandler(\"onClientResourceStart\", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(171, 65, 1568, 913, \"\", false) guiWindowSetMovable(GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.button[1] = guiCreateButton(9, 20, 284, 29, \"Járművek\", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(539, 19, 503, 30, \"Információk\", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(1286, 19, 272, 29, \"Ingatlanok\", false, GUIEditor.window[1]) GUIEditor.progressbar[1] = guiCreateProgressBar(66, 385, 194, 16, false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(32, 387, 40, 14, \"Élet\", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 134, 0, 0) guiLabelSetHorizontalAlign(GUIEditor.label[1], \"center\", false) GUIEditor.progressbar[2] = guiCreateProgressBar(66, 411, 194, 15, false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(26, 412, 40, 14, \"Éhség :\", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 108, 68, 25) guiLabelSetVerticalAlign(GUIEditor.label[2], \"center\") GUIEditor.button[4] = guiCreateButton(293, 23, 229, 26, \"Frakció\", false, GUIEditor.window[1]) GUIEditor.button[5] = guiCreateButton(1057, 22, 229, 26, \"Beállitások\", false, GUIEditor.window[1]) GUIEditor.label[3] = guiCreateLabel(39, 360, 221, 15, \"Neved:\", false, GUIEditor.window[1]) GUIEditor.progressbar[3] = guiCreateProgressBar(66, 436, 194, 15, false, GUIEditor.window[1]) GUIEditor.label[4] = guiCreateLabel(6, 437, 60, 14, \"Szomjúság\", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 23, 100, 131) guiLabelSetVerticalAlign(GUIEditor.label[4], \"center\") end ) addEventHandler (\"onClientClick\", GUIEditor.button[1], pagestatechanger1 ) addEventHandler (\"onClientClick\", GUIEditor.button[2], pagestatechanger2 ) addEventHandler (\"onClientClick\", GUIEditor.button[3], pagestatechanger3 ) addEventHandler (\"onClientClick\", GUIEditor.button[4], pagestatechanger4 ) addEventHandler (\"onClientClick\", GUIEditor.button[5], pagestatechanger5 ) function pagestatechanger1 () pagestate = 1 end function pagestatechanger2 () pagestate = 2 end function pagestatechanger3 () pagestate = 3 end function pagestatechanger4 () pagestate = 4 end function pagestatechanger5 () pagestate = 5 end function pagechanger () if pagestate == 1 then -- inf. GUIEditor.progressbar[1] = guiCreateProgressBar(66, 385, 194, 16, false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(32, 387, 40, 14, \"Élet\", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 134, 0, 0) guiLabelSetHorizontalAlign(GUIEditor.label[1], \"center\", false) GUIEditor.progressbar[2] = guiCreateProgressBar(66, 411, 194, 15, false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(26, 412, 40, 14, \"Éhség :\", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 108, 68, 25) guiLabelSetVerticalAlign(GUIEditor.label[2], \"center\") GUIEditor.progressbar[3] = guiCreateProgressBar(66, 436, 194, 15, false, GUIEditor.window[1]) GUIEditor.label[4] = guiCreateLabel(6, 437, 60, 14, \"Szomjúság\", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 23, 100, 131) guiLabelSetVerticalAlign(GUIEditor.label[4], \"center\") GUIEditor.label[3] = guiCreateLabel(39, 360, 221, 15, \"Neved:\", false, GUIEditor.window[1]) elseif pagestate == 2 then -- jármüvek GUIEditor.gridlist[1] = guiCreateGridList(10, 55, 1550, 878, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], \"Jármüvek \", 0.2) guiGridListAddColumn(GUIEditor.gridlist[1], \"ID\", 0.2) guiGridListAddColumn(GUIEditor.gridlist[1], \"Lefogalva\", 0.2) guiGridListAddColumn(GUIEditor.gridlist[1], \"Rendszám\", 0.2) for i = 1, 3 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, \"-\", false, false) elseif pagestate == 3 then -- ingat. GUIEditor.gridlist[1] = guiCreateGridList(10, 55, 1550, 878, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], \"Ingatlanok\", 0.2) guiGridListAddColumn(GUIEditor.gridlist[1], \"ID\", 0.2) guiGridListAddColumn(GUIEditor.gridlist[1], \"Zárva\", 0.2) guiGridListAddColumn(GUIEditor.gridlist[1], \"Pozició\", 0.2) for i = 1, 3 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, \"-\", false, false) elseif pagestate == 4 then -- frak. outputChatBox(\"#00007f [bL] #fffff Hamarosan!\") elseif pagestate == 5 then -- beáll. outputChatBox(\"#00007f [bL] #fffff Hamarosan!\") end end Kijavítottam neked, esetleg ajánlani tudom a DX-et, szebb is és talán könnyebb is(guieditor)
103
« Dátum: 2016. augusztus 05. - 20:11:57 »
Bocs, félre értelmeztem.
104
« Dátum: 2016. augusztus 05. - 15:10:46 »
Erre már van egy poszt (index.php?topic=63734.0)
105
« Dátum: 2016. augusztus 04. - 22:29:23 »
Modell id vagy a kapu id?
Oldalak: 1 ... 5 6 [7] 8 9 ... 15
|