Jump to content

JokerPublic

Members
  • Posts

    13
  • Joined

  • Last visited

About JokerPublic

  • Birthday 18/06/2003

Details

  • Gang
    BlueMTA
  • Location
    Ukraine
  • Occupation
    Developer
  • Interests
    Football

Recent Profile Visitors

629 profile views

JokerPublic's Achievements

Square

Square (6/54)

1

Reputation

  1. aclbe engedélyezted a resourcenak a kickPlayerhez való hozzáférést?
  2. Egy kódot tudsz mutatni?
  3. Küldj már egy képet mert nem értem ?
  4. Ne legyél már makacs próbáld meg azt a funcot amit küldtem és hiába hiszed azt, hogy ugyanaz csak hosszabb csak a céljában hasonlít a tiédhez.
  5. Próbáld meg a funcot amit küldtem annak elviekben nem kéne ilyen gondja lennie ?
  6. https://forum.multitheftauto.com/topic/75680-tut-Lua-strings/ Elviekben a \v meg a \t-nek kéne lennie erre a megoldásnak gyakorlatban meg nem igazán működnek sem guiban sem pedig dxDrawra local spaces = 10 tab = function(text) local str = "" local start = 0 if text:find("\t") then while true do if text:find("\t", start) then local a = text:find("\t", start) str = str .. text:sub(start, a) .. (" "):rep(spaces) start = a + 1 else str = str .. text:sub(start, #text) break end end else return text end return str end local sx, sy = guiGetScreenSize() addEventHandler("onClientRender", root, function() local text = tab("asd\tasd\ta") dxDrawText(text, 0, 0, sx, sy, tocolor(255,255,255,255), 1, "pricedown", "center", "center") end ) --Ennek elviekben helyetesítenie kéne a \t-t megtudod adni mennyi space-t rakjon 1-1 string közé jah és nem ajánlott renderben használni :D Ha ez sem az amit keresel akkor írj újra xd
  7. A 28. sor végéről szedd ki a zárójelet: ' )'
  8. local window = guiCreateWindow(30, 30, 500, 500, "Teszt", false) local tab = guiCreateTabPanel(0, 20, 500, 500, false, window) guiCreateTab( "Teszt1", tab) guiCreateTab( "Teszt2", tab) guiCreateTab( "Teszt3", tab) guiCreateTab( "Teszt4", tab) guiCreateTab( "Teszt5", tab) guiCreateTab( "Teszt6", tab) Szerintem ez kell neked, de ha tévedek nyugodtan írj
  9. Hi. I want to load a pdf page but mta does nothing. --aszf local aszfUrl = "project.bluemta.com/ASZF.pdf" requestBrowserDomains({aszfUrl}) addEventHandler("onClientBrowserWhitelistChange", root, function(newDomains) if aszfState then for k,v in pairs(newDomains) do if v == aszfUrl then createAszfBrowser() end end end end ) local webBrowser function createAszfBrowser() if aszfState then if not isElement(webBrowser) then webBrowser = createBrowser(sx-100, sy-100, false, false, false) toggleBrowserDevTools(webBrowser, true) local theBrowser = webBrowser addEventHandler( "onClientBrowserCreated", theBrowser, function() loadBrowserURL(source, "https://" .. aszfUrl) end ) addEventHandler("onClientRender", root, function() dxDrawImage(50, 50, sx-100, sx-100, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true) end) addEventHandler("onClientBrowserResourceBlocked", theBrowser, function(url, domain, reason) local source = source if (reason == 0) then requestBrowserDomains({domain}, false, function(accepted, newDomains) if (accepted) then reloadBrowserPage(source) end end ) end end ) else loadBrowserURL(guiGetBrowser(webBrowser), "https://" .. aszfUrl) end end end function destroyAszfBrowser() if isElement(webBrowser) then aszfState = false destroyElement(webBrowser) end end bindKey("backspace", "down", destroyAszfBrowser)
  10. Hi. I want a function such as: function Entity:setData(...) -- end and i want to this function run if i call localPlayer:setData or localPlayer.vehicle:setData() btw i don't know how can i do this
  11. Hello. I Want to convert Vice City map. This convert but in Debugscript has outputting some errors for doesn't replace the object (dff or col). And this make's empty side of map. What can i do?
×
×
  • Create New...