Üzenetek megjelenítése

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 - thegergo02

Oldalak: 1 ... 56 57 [58] 59 60 ... 69
856
Segítségkérés / Stringek
« Dátum: 2016. augusztus 31. - 19:01:26 »
Hogyan határozhatnám meg egy dxDrawText max. hosszuságát (példával mert tudom ez a string.len()-el lehet megoldani de a szintaxist nem tudom), és hogy csak számok lehetnek benne? A válaszokat előre köszönöm.

857
Segítségkérés / /warn parancs
« Dátum: 2016. augusztus 31. - 18:10:12 »
Egyáltalán milyen mod?

858
Segítségkérés / számok dxDrawText-be
« Dátum: 2016. augusztus 31. - 16:56:18 »
Akkor hogyan tudnám megoldani?

859
Segítségkérés / editBox
« Dátum: 2016. augusztus 31. - 14:27:22 »
Kiprobálom a \"lusta\" megoldást :)

860
Segítségkérés / editBox
« Dátum: 2016. augusztus 31. - 13:43:06 »
Sziasztok! Más szerveren is láttam, hogy nem egy editBoxba kell írni hanem valami szebb pl.: Rectangle-be. Ezt hogyan oldották meg?

861
Munkaerőnek jelentkezés / Mappernek jelentkezem!
« Dátum: 2016. augusztus 31. - 13:41:49 »
Tulajdonságaid, fizetést kérsz -e, ha igen mennyit, hogyan?

862
Segítségkérés / számok dxDrawText-be
« Dátum: 2016. augusztus 31. - 09:55:52 »
Köszi, ha lesz idöm kiprobálom, és köszi a figyelmeztetést, a guieditorban szoktam pozícíonálni.
E: A telefonb körül bárhova kattintok, 1-est ír. (Tudom hogy csak az 1-s 2-s-t csináltad meg , de kb. mindenhova 1-st érzékel!

863
Segítségkérés / számok dxDrawText-be
« Dátum: 2016. augusztus 30. - 22:35:47 »
Akkor hogyan tudnám megoldani?

864
Segítségkérés / számok dxDrawText-be
« Dátum: 2016. augusztus 30. - 22:09:19 »
Nekem nem sikerül, valahogy így probáltam: (a biztonság kedvéért az egész kódot berakom)
[Client-Side:]
 
function lap ()
setElementData(localPlayer, \"mobillap\", 1)
setElementData(localPlayer, \"telszam\", 0)
end
addEventHandler(\"onClientResourceStart\", root, lap)
local screenW, screenH = guiGetScreenSize()
 
addEventHandler(\"onClientRender\", root,
    function()
local lap = getElementData (localPlayer, \"mobillap\")
telszam = getElementData (localPlayer, \"telszam\")
showCursor(true)
if lap == 0 then
outputDebugString ( \"A telefon nincs megnyitva!\" )
setElementData(localPlayer, \"mobillap\", 1)
elseif lap == 1 then --kezdőoldal
outputDebugString ( \"1. lap\" )
        dxDrawImage(screenW * 0.8490, screenH * 0.3333, 259, 522, \":hud/sonyspb1.png\", 0, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawImage(screenW * 0.8542, screenH * 0.3426, 40, 34, \":hud/kameraicon.png\", 0, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawImage(screenW * 0.8490, screenH * 0.7333, 49, 54, \":hud/hivasicon.png\", 0, 0, 0, tocolor(118, 38, 216, 255), false)
elseif lap == 2 then
telszam = getElementData (localPlayer,\"telszam\")
outputDebugString ( \"2. lap\" )
dxDrawText(\"\"..telszam, screenW * 0.8630, screenH * 0.5074, screenW * 0.9667, screenH * 0.5444, tocolor(1, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, true, false, false)
 dxDrawRectangle(1648, 538, 0, 26, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8495) - 1, (screenH * 0.3426) - 1, (screenW * 0.8495) - 1, screenH * 0.7833, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, (screenH * 0.3426) - 1, (screenW * 0.8495) - 1, (screenH * 0.3426) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8495) - 1, screenH * 0.7833, screenW * 0.9839, screenH * 0.7833, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, screenH * 0.7833, screenW * 0.9839, (screenH * 0.3426) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8495, screenH * 0.3426, screenW * 0.1344, screenH * 0.4407, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8943) - 1, (screenH * 0.7389) - 1, (screenW * 0.8943) - 1, screenH * 0.7741, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, (screenH * 0.7389) - 1, (screenW * 0.8943) - 1, (screenH * 0.7389) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8943) - 1, screenH * 0.7741, screenW * 0.9370, screenH * 0.7741, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, screenH * 0.7741, screenW * 0.9370, (screenH * 0.7389) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8943, screenH * 0.7389, screenW * 0.0427, screenH * 0.0352, tocolor(255, 255, 255, 255), false)
        dxDrawText(\"Hivás\", screenW * 0.8938, screenH * 0.7389, screenW * 0.9370, screenH * 0.7741, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawLine((screenW * 0.8495) - 1, (screenH * 0.3426) - 1, (screenW * 0.8495) - 1, screenH * 0.3778, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9156, (screenH * 0.3426) - 1, (screenW * 0.8495) - 1, (screenH * 0.3426) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8495) - 1, screenH * 0.3778, screenW * 0.9156, screenH * 0.3778, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9156, screenH * 0.3778, screenW * 0.9156, (screenH * 0.3426) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8495, screenH * 0.3426, screenW * 0.0661, screenH * 0.0352, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.9187) - 1, (screenH * 0.3426) - 1, (screenW * 0.9187) - 1, screenH * 0.3778, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, (screenH * 0.3426) - 1, (screenW * 0.9187) - 1, (screenH * 0.3426) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.9187) - 1, screenH * 0.3778, screenW * 0.9839, screenH * 0.3778, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, screenH * 0.3778, screenW * 0.9839, (screenH * 0.3426) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.9187, screenH * 0.3426, screenW * 0.0651, screenH * 0.0352, tocolor(255, 255, 255, 255), false)
        dxDrawText(\"Tárcsázás\", screenW * 0.8490, screenH * 0.3417, screenW * 0.9156, screenH * 0.3778, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"Névjegyek\", screenW * 0.9187, screenH * 0.3417, screenW * 0.9839, screenH * 0.3778, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawLine((screenW * 0.8495) - 1, (screenH * 0.5583) - 1, (screenW * 0.8495) - 1, screenH * 0.5870, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, (screenH * 0.5583) - 1, (screenW * 0.8495) - 1, (screenH * 0.5583) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8495) - 1, screenH * 0.5870, screenW * 0.8885, screenH * 0.5870, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, screenH * 0.5870, screenW * 0.8885, (screenH * 0.5583) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8495, screenH * 0.5583, screenW * 0.0391, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8964) - 1, (screenH * 0.5583) - 1, (screenW * 0.8964) - 1, screenH * 0.5870, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, (screenH * 0.5583) - 1, (screenW * 0.8964) - 1, (screenH * 0.5583) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8964) - 1, screenH * 0.5870, screenW * 0.9370, screenH * 0.5870, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, screenH * 0.5870, screenW * 0.9370, (screenH * 0.5583) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8964, screenH * 0.5583, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.9432) - 1, (screenH * 0.5583) - 1, (screenW * 0.9432) - 1, screenH * 0.5870, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, (screenH * 0.5583) - 1, (screenW * 0.9432) - 1, (screenH * 0.5583) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.9432) - 1, screenH * 0.5870, screenW * 0.9839, screenH * 0.5870, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, screenH * 0.5870, screenW * 0.9839, (screenH * 0.5583) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.9432, screenH * 0.5583, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8495) - 1, (screenH * 0.5963) - 1, (screenW * 0.8495) - 1, screenH * 0.6250, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, (screenH * 0.5963) - 1, (screenW * 0.8495) - 1, (screenH * 0.5963) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8495) - 1, screenH * 0.6250, screenW * 0.8885, screenH * 0.6250, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, screenH * 0.6250, screenW * 0.8885, (screenH * 0.5963) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8495, screenH * 0.5963, screenW * 0.0391, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8495) - 1, (screenH * 0.6343) - 1, (screenW * 0.8495) - 1, screenH * 0.6630, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, (screenH * 0.6343) - 1, (screenW * 0.8495) - 1, (screenH * 0.6343) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8495) - 1, screenH * 0.6630, screenW * 0.8885, screenH * 0.6630, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, screenH * 0.6630, screenW * 0.8885, (screenH * 0.6343) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8495, screenH * 0.6343, screenW * 0.0391, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8495) - 1, (screenH * 0.6722) - 1, (screenW * 0.8495) - 1, screenH * 0.7009, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, (screenH * 0.6722) - 1, (screenW * 0.8495) - 1, (screenH * 0.6722) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8495) - 1, screenH * 0.7009, screenW * 0.8885, screenH * 0.7009, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, screenH * 0.7009, screenW * 0.8885, (screenH * 0.6722) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8495, screenH * 0.6722, screenW * 0.0391, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8964) - 1, (screenH * 0.5963) - 1, (screenW * 0.8964) - 1, screenH * 0.6250, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, (screenH * 0.5963) - 1, (screenW * 0.8964) - 1, (screenH * 0.5963) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8964) - 1, screenH * 0.6250, screenW * 0.9370, screenH * 0.6250, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, screenH * 0.6250, screenW * 0.9370, (screenH * 0.5963) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8964, screenH * 0.5963, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8964) - 1, (screenH * 0.6343) - 1, (screenW * 0.8964) - 1, screenH * 0.6630, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, (screenH * 0.6343) - 1, (screenW * 0.8964) - 1, (screenH * 0.6343) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8964) - 1, screenH * 0.6630, screenW * 0.9370, screenH * 0.6630, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, screenH * 0.6630, screenW * 0.9370, (screenH * 0.6343) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8964, screenH * 0.6343, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8964) - 1, (screenH * 0.6722) - 1, (screenW * 0.8964) - 1, screenH * 0.7009, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, (screenH * 0.6722) - 1, (screenW * 0.8964) - 1, (screenH * 0.6722) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8964) - 1, screenH * 0.7009, screenW * 0.9370, screenH * 0.7009, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, screenH * 0.7009, screenW * 0.9370, (screenH * 0.6722) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8964, screenH * 0.6722, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.9432) - 1, (screenH * 0.5963) - 1, (screenW * 0.9432) - 1, screenH * 0.6250, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, (screenH * 0.5963) - 1, (screenW * 0.9432) - 1, (screenH * 0.5963) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.9432) - 1, screenH * 0.6250, screenW * 0.9839, screenH * 0.6250, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, screenH * 0.6250, screenW * 0.9839, (screenH * 0.5963) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.9432, screenH * 0.5963, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.9432) - 1, (screenH * 0.6343) - 1, (screenW * 0.9432) - 1, screenH * 0.6630, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, (screenH * 0.6343) - 1, (screenW * 0.9432) - 1, (screenH * 0.6343) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.9432) - 1, screenH * 0.6630, screenW * 0.9839, screenH * 0.6630, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, screenH * 0.6630, screenW * 0.9839, (screenH * 0.6343) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.9432, screenH * 0.6343, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.9432) - 1, (screenH * 0.6722) - 1, (screenW * 0.9432) - 1, screenH * 0.7009, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, (screenH * 0.6722) - 1, (screenW * 0.9432) - 1, (screenH * 0.6722) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.9432) - 1, screenH * 0.7009, screenW * 0.9839, screenH * 0.7009, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, screenH * 0.7009, screenW * 0.9839, (screenH * 0.6722) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.9432, screenH * 0.6722, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawText(\"\", 1630, 602, 1706, 634, tocolor(255, 255, 255, 255), 1.00, \"default\", \"left\", \"top\", false, false, false, false, false)
        dxDrawText(\"1\", screenW * 0.8490, screenH * 0.5574, screenW * 0.8885, screenH * 0.5870, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"2\", screenW * 0.8964, screenH * 0.5583, screenW * 0.9370, screenH * 0.5870, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"3\", screenW * 0.9432, screenH * 0.5583, screenW * 0.9828, screenH * 0.5880, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"4\", screenW * 0.8490, screenH * 0.5954, screenW * 0.8885, screenH * 0.6250, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"5\", screenW * 0.8964, screenH * 0.5963, screenW * 0.9370, screenH * 0.6250, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"5\", screenW * 0.8964, screenH * 0.5963, screenW * 0.9370, screenH * 0.6250, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"6\", screenW * 0.9432, screenH * 0.5954, screenW * 0.9828, screenH * 0.6250, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"7\", screenW * 0.8490, screenH * 0.6333, screenW * 0.8885, screenH * 0.6630, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"8\", screenW * 0.8964, screenH * 0.6343, screenW * 0.9370, screenH * 0.6630, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"8\", screenW * 0.8964, screenH * 0.6343, screenW * 0.9370, screenH * 0.6630, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"6\", screenW * 0.9432, screenH * 0.5954, screenW * 0.9828, screenH * 0.6250, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"9\", screenW * 0.9432, screenH * 0.6333, screenW * 0.9828, screenH * 0.6630, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"*\", screenW * 0.8490, screenH * 0.6713, screenW * 0.8885, screenH * 0.7009, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"0\", screenW * 0.8964, screenH * 0.6722, screenW * 0.9370, screenH * 0.7009, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"#\", screenW * 0.9432, screenH * 0.6713, screenW * 0.9828, screenH * 0.7009, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
end -- lapos elágazás vége
 
--ezek mindig itt vannak......
dxDrawImage(screenW * 0.5740, screenH * 0.2065, 1377, 814, \":hud/sonysp.png\", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawLine(1630 - 1, 846 - 1, 1630 - 1, 882, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(1889, 846 - 1, 1630 - 1, 846 - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(1630 - 1, 882, 1889, 882, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(1889, 882, 1889, 846 - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8490, screenH * 0.7833, 259, 36, tocolor(1, 0, 0, 255), false)
        dxDrawRectangle(screenW * 0.8490, screenH * 0.3324, 259, 11, tocolor(1, 1, 0, 200), false)
        dxDrawImage(1829, 846, 40, 33, \":hud/1.png\", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(1649, 847, 40, 35, \":hud/2.png\", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(1739, 846, 40, 36, \":hud/3.png\", 0, 0, 0, tocolor(255, 255, 255, 255), false)
--dxDrawImage(1625, 918, 268, 4, \":hud/sonyspgreenled.png\", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        --dxDrawImage(1625, 918, 268, 4, \":hud/sonysppurpleled.png\", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        --dxDrawImage(1625, 918, 268, 4, \":hud/sonyspredled.png\", 0, 0, 0, tocolor(255, 255, 255, 255), 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)
   local lap = getElementData (localPlayer, \"mobillap\")
            if allapot == \"down\" and gomb == \"left\" then
      if dobozbaVan(1739, 846, 40, 36, absX, absY)  then
         setElementData(localPlayer, \"mobillap\", 1)   
         elseif dobozbaVan(screenW * 0.8490, screenH * 0.7333, 49, 54, absX, absY)  then
                    setElementData(localPlayer, \"mobillap\", 2)
         elseif dobozbaVan(1649, 847, 40, 35, absX, absY) then
         setElementData(localPlayer, \"mobillap\", 1)   
         elseif dobozbaVan (1649, 847, 40, 35, absX, absY) and lap == 1 then
         setElementData (localPlayer, \"mobillap\", 0)
         elseif dobozbaVan (screenW * 0.8490, screenH * 0.3324, 259, 11,absX,absY) then
            if lap == 1 or lap == 2 then
         setElementData (localPlayer, \"mobillap\", 3)
            elseif lap == 3 then
            setElementData (localPlayer, \"mobillap\", 1)
         elseif dobozbaVan (screenW * 0.8490, screenH * 0.5574, screenW * 0.8885, screenH * 0.5870,absX,absY) then --1
               telszam = telszam..1   
         end
                end
            end
        end
        ) 

865
Segítségkérés / számok dxDrawText-be
« Dátum: 2016. augusztus 30. - 20:09:47 »
Igen az megvan na de mit csináljon? Még fejben sem jött össze, letudnád írni hogy oldhatom meg? (Nem kérek scriptet a logikáját írd le)

866
Segítségkérés / számok dxDrawText-be
« Dátum: 2016. augusztus 30. - 16:00:01 »
Pont ez akartam elkerülni, mivel nyomó gombos rányomsz a rectangle-re és a dxDrawText-be belekéne írnia azt a karaktert ami a rectangel-on van.

867
Segítségkérés / számok dxDrawText-be
« Dátum: 2016. augusztus 30. - 15:21:03 »
Igen, az a max. 21 karakter azt nagyon is köszönöm, de az első kérdésemre még mindig várom a választ.

868
Segítségkérés / Étel, ital rendszer
« Dátum: 2016. augusztus 30. - 13:50:30 »
Már értem, bocsánat.
OFF: Világos témán a fehéret nem látni....

869
Segítségkérés / számok dxDrawText-be
« Dátum: 2016. augusztus 30. - 13:49:33 »
Sziasztok! Csináltam egy nyomó gombos telefont, és amikor lenyomsz egy számot az a dxDrawTextbe írodjón bele, maximum 21 karakter lehessen benne. De nem tudom hogyan valósitsam meg.
 
outputDebugString ( \"2. lap\" )
 dxDrawRectangle(1648, 538, 0, 26, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8495) - 1, (screenH * 0.3426) - 1, (screenW * 0.8495) - 1, screenH * 0.7833, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, (screenH * 0.3426) - 1, (screenW * 0.8495) - 1, (screenH * 0.3426) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8495) - 1, screenH * 0.7833, screenW * 0.9839, screenH * 0.7833, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, screenH * 0.7833, screenW * 0.9839, (screenH * 0.3426) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8495, screenH * 0.3426, screenW * 0.1344, screenH * 0.4407, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8943) - 1, (screenH * 0.7389) - 1, (screenW * 0.8943) - 1, screenH * 0.7741, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, (screenH * 0.7389) - 1, (screenW * 0.8943) - 1, (screenH * 0.7389) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8943) - 1, screenH * 0.7741, screenW * 0.9370, screenH * 0.7741, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, screenH * 0.7741, screenW * 0.9370, (screenH * 0.7389) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8943, screenH * 0.7389, screenW * 0.0427, screenH * 0.0352, tocolor(255, 255, 255, 255), false)
        dxDrawText(\"Hivás\", screenW * 0.8938, screenH * 0.7389, screenW * 0.9370, screenH * 0.7741, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawLine((screenW * 0.8495) - 1, (screenH * 0.3426) - 1, (screenW * 0.8495) - 1, screenH * 0.3778, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9156, (screenH * 0.3426) - 1, (screenW * 0.8495) - 1, (screenH * 0.3426) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8495) - 1, screenH * 0.3778, screenW * 0.9156, screenH * 0.3778, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9156, screenH * 0.3778, screenW * 0.9156, (screenH * 0.3426) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8495, screenH * 0.3426, screenW * 0.0661, screenH * 0.0352, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.9187) - 1, (screenH * 0.3426) - 1, (screenW * 0.9187) - 1, screenH * 0.3778, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, (screenH * 0.3426) - 1, (screenW * 0.9187) - 1, (screenH * 0.3426) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.9187) - 1, screenH * 0.3778, screenW * 0.9839, screenH * 0.3778, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, screenH * 0.3778, screenW * 0.9839, (screenH * 0.3426) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.9187, screenH * 0.3426, screenW * 0.0651, screenH * 0.0352, tocolor(255, 255, 255, 255), false)
        dxDrawText(\"Tárcsázás\", screenW * 0.8490, screenH * 0.3417, screenW * 0.9156, screenH * 0.3778, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"Névjegyek\", screenW * 0.9187, screenH * 0.3417, screenW * 0.9839, screenH * 0.3778, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawLine((screenW * 0.8495) - 1, (screenH * 0.5583) - 1, (screenW * 0.8495) - 1, screenH * 0.5870, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, (screenH * 0.5583) - 1, (screenW * 0.8495) - 1, (screenH * 0.5583) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8495) - 1, screenH * 0.5870, screenW * 0.8885, screenH * 0.5870, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, screenH * 0.5870, screenW * 0.8885, (screenH * 0.5583) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8495, screenH * 0.5583, screenW * 0.0391, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8964) - 1, (screenH * 0.5583) - 1, (screenW * 0.8964) - 1, screenH * 0.5870, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, (screenH * 0.5583) - 1, (screenW * 0.8964) - 1, (screenH * 0.5583) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8964) - 1, screenH * 0.5870, screenW * 0.9370, screenH * 0.5870, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, screenH * 0.5870, screenW * 0.9370, (screenH * 0.5583) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8964, screenH * 0.5583, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.9432) - 1, (screenH * 0.5583) - 1, (screenW * 0.9432) - 1, screenH * 0.5870, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, (screenH * 0.5583) - 1, (screenW * 0.9432) - 1, (screenH * 0.5583) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.9432) - 1, screenH * 0.5870, screenW * 0.9839, screenH * 0.5870, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, screenH * 0.5870, screenW * 0.9839, (screenH * 0.5583) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.9432, screenH * 0.5583, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8495) - 1, (screenH * 0.5963) - 1, (screenW * 0.8495) - 1, screenH * 0.6250, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, (screenH * 0.5963) - 1, (screenW * 0.8495) - 1, (screenH * 0.5963) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8495) - 1, screenH * 0.6250, screenW * 0.8885, screenH * 0.6250, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, screenH * 0.6250, screenW * 0.8885, (screenH * 0.5963) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8495, screenH * 0.5963, screenW * 0.0391, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8495) - 1, (screenH * 0.6343) - 1, (screenW * 0.8495) - 1, screenH * 0.6630, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, (screenH * 0.6343) - 1, (screenW * 0.8495) - 1, (screenH * 0.6343) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8495) - 1, screenH * 0.6630, screenW * 0.8885, screenH * 0.6630, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, screenH * 0.6630, screenW * 0.8885, (screenH * 0.6343) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8495, screenH * 0.6343, screenW * 0.0391, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8495) - 1, (screenH * 0.6722) - 1, (screenW * 0.8495) - 1, screenH * 0.7009, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, (screenH * 0.6722) - 1, (screenW * 0.8495) - 1, (screenH * 0.6722) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8495) - 1, screenH * 0.7009, screenW * 0.8885, screenH * 0.7009, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.8885, screenH * 0.7009, screenW * 0.8885, (screenH * 0.6722) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8495, screenH * 0.6722, screenW * 0.0391, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8964) - 1, (screenH * 0.5963) - 1, (screenW * 0.8964) - 1, screenH * 0.6250, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, (screenH * 0.5963) - 1, (screenW * 0.8964) - 1, (screenH * 0.5963) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8964) - 1, screenH * 0.6250, screenW * 0.9370, screenH * 0.6250, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, screenH * 0.6250, screenW * 0.9370, (screenH * 0.5963) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8964, screenH * 0.5963, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8964) - 1, (screenH * 0.6343) - 1, (screenW * 0.8964) - 1, screenH * 0.6630, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, (screenH * 0.6343) - 1, (screenW * 0.8964) - 1, (screenH * 0.6343) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8964) - 1, screenH * 0.6630, screenW * 0.9370, screenH * 0.6630, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, screenH * 0.6630, screenW * 0.9370, (screenH * 0.6343) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8964, screenH * 0.6343, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.8964) - 1, (screenH * 0.6722) - 1, (screenW * 0.8964) - 1, screenH * 0.7009, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, (screenH * 0.6722) - 1, (screenW * 0.8964) - 1, (screenH * 0.6722) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.8964) - 1, screenH * 0.7009, screenW * 0.9370, screenH * 0.7009, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9370, screenH * 0.7009, screenW * 0.9370, (screenH * 0.6722) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.8964, screenH * 0.6722, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.9432) - 1, (screenH * 0.5963) - 1, (screenW * 0.9432) - 1, screenH * 0.6250, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, (screenH * 0.5963) - 1, (screenW * 0.9432) - 1, (screenH * 0.5963) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.9432) - 1, screenH * 0.6250, screenW * 0.9839, screenH * 0.6250, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, screenH * 0.6250, screenW * 0.9839, (screenH * 0.5963) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.9432, screenH * 0.5963, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.9432) - 1, (screenH * 0.6343) - 1, (screenW * 0.9432) - 1, screenH * 0.6630, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, (screenH * 0.6343) - 1, (screenW * 0.9432) - 1, (screenH * 0.6343) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.9432) - 1, screenH * 0.6630, screenW * 0.9839, screenH * 0.6630, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, screenH * 0.6630, screenW * 0.9839, (screenH * 0.6343) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.9432, screenH * 0.6343, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawLine((screenW * 0.9432) - 1, (screenH * 0.6722) - 1, (screenW * 0.9432) - 1, screenH * 0.7009, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, (screenH * 0.6722) - 1, (screenW * 0.9432) - 1, (screenH * 0.6722) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine((screenW * 0.9432) - 1, screenH * 0.7009, screenW * 0.9839, screenH * 0.7009, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(screenW * 0.9839, screenH * 0.7009, screenW * 0.9839, (screenH * 0.6722) - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(screenW * 0.9432, screenH * 0.6722, screenW * 0.0406, screenH * 0.0287, tocolor(255, 255, 255, 255), false)
        dxDrawText(\"\", 1630, 602, 1706, 634, tocolor(255, 255, 255, 255), 1.00, \"default\", \"left\", \"top\", false, false, false, false, false)
        dxDrawText(\"1\", screenW * 0.8490, screenH * 0.5574, screenW * 0.8885, screenH * 0.5870, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"2\", screenW * 0.8964, screenH * 0.5583, screenW * 0.9370, screenH * 0.5870, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"3\", screenW * 0.9432, screenH * 0.5583, screenW * 0.9828, screenH * 0.5880, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"4\", screenW * 0.8490, screenH * 0.5954, screenW * 0.8885, screenH * 0.6250, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"5\", screenW * 0.8964, screenH * 0.5963, screenW * 0.9370, screenH * 0.6250, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"5\", screenW * 0.8964, screenH * 0.5963, screenW * 0.9370, screenH * 0.6250, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"6\", screenW * 0.9432, screenH * 0.5954, screenW * 0.9828, screenH * 0.6250, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"7\", screenW * 0.8490, screenH * 0.6333, screenW * 0.8885, screenH * 0.6630, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"8\", screenW * 0.8964, screenH * 0.6343, screenW * 0.9370, screenH * 0.6630, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"8\", screenW * 0.8964, screenH * 0.6343, screenW * 0.9370, screenH * 0.6630, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"6\", screenW * 0.9432, screenH * 0.5954, screenW * 0.9828, screenH * 0.6250, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"9\", screenW * 0.9432, screenH * 0.6333, screenW * 0.9828, screenH * 0.6630, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"*\", screenW * 0.8490, screenH * 0.6713, screenW * 0.8885, screenH * 0.7009, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"0\", screenW * 0.8964, screenH * 0.6722, screenW * 0.9370, screenH * 0.7009, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)
        dxDrawText(\"#\", screenW * 0.9432, screenH * 0.6713, screenW * 0.9828, screenH * 0.7009, tocolor(0, 0, 0, 255), 1.50, \"default-bold\", \"center\", \"center\", false, false, false, false, false)

870
Segítségkérés / A képernyön egy kisebb kamera
« Dátum: 2016. augusztus 30. - 12:31:37 »
Köszi, ha lesz időm kiprobálom!

Oldalak: 1 ... 56 57 [58] 59 60 ... 69
SimplePortal 2.3.7 © 2008-2024, SimplePortal