Facebook
From sdasd, 2 Weeks ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 165
  1. local x, y = guiGetScreenSize()
  2. local panelColor = {"#6094CB", 96, 148, 203}
  3. local panelStatus = false
  4.  
  5. local panelWidth, panelHeight = 730, 395
  6. local panelX, panelY = x / 2 - panelWidth / 2, y / 2 - panelHeight / 2
  7.  
  8. local openButton = "insert"
  9. local aimButton = "lalt"
  10. local openCount = 0
  11.  
  12. local showButtonChat = false
  13. local loadedStatus = 0
  14.  
  15. local moveState = false
  16. local offsetX, offsetY = 0, 0
  17. local colorAlpha = 0
  18. local alphaStatus = 0
  19. local loadingText = "LOADING"
  20. local loadingNumber = 0
  21. local discordLink = "https://discord.gg/6xgr5yPEfr"
  22. local clickTick = 0
  23. local clickDelay = 1000
  24. local chatString = panelColor[1].."[BENYOHOOK] ".."#ffffff"
  25. local panelSide = 0
  26.  
  27. local maxButtonDrawPanel = 28
  28. local maxButtonDraw = 7
  29. local currentButtonDraw = 1
  30.  
  31. local maxButtonTextDrawPanel = 20
  32. local maxButtonTextDraw = 10
  33. local currentButtonTextDraw = 1
  34.  
  35. local maxButtonStatusDrawPanel = 20
  36. local maxButtonStatusDraw = 10
  37. local currentButtonStatusDraw = 1
  38.  
  39. local buttonBindNumber = 0
  40.  
  41. local itemListStatus = false
  42.  
  43. local maxItemDrawPanel = 11
  44. local maxItemDraw = 11
  45. local currentItemDraw = 1
  46.  
  47. local selectedItems = {}
  48.  
  49. local loadedCommandsGenyo = false
  50.  
  51. local activeServerEvents = {}
  52. local activeClientEvents = {}
  53.  
  54. local activeDatas = {}
  55.  
  56. local maxEventDrawPanel = 11
  57. local maxEventDraw = 11
  58. local currentEventDraw = 1
  59.  
  60. local eventListStatus = false
  61.  
  62. local maxDataDrawPanel = 11
  63. local maxDataDraw = 11
  64. local currentDataDraw = 1
  65.  
  66. local dataListStatus = false
  67.  
  68. buttons = {
  69.     {"ROCKET", false, false, true, "benyohookrocket"},
  70.     {"LUA GUI", false, false, true, "benyohookluagui"},
  71.     {"RUN LUA", false, false, true, "benyohookrunlua"},
  72.     {"WH", false, false, true, "benyohookwh"},
  73.     {"FLY", false, false, true, "benyohookfly"},
  74.     {"KILL ALL PLAYER", false, false, true, "benyohookkillall"},
  75.     {"GOD", false, false, true, "benyohookgod"},
  76.     {"GIVE MONEY ME", true, false, true, "benyohookgivemoneyme"},
  77.     {"GIVE MONEY ALL", true, false, true, "benyohookgivemoneyall"},
  78.     {"HP", false, false, true, "benyohookhp"},
  79.     {"ARMOR", false, false, true, "benyohookarmor"},
  80.     {"GIVE ITEMS ME", false, false, true, "benyohookgiveitemsme"},
  81.     {"GIVE ITEMS ALL", false, false, true, "benyohookgiveitemsall"},
  82.     {"CAR ESP", false, false, true, "benyohookcaresp"},
  83.     {"SAFE SPAWN", true, false, true, "benyohooksafespawn"},
  84.     {"GATE SPAWN", true, false, true, "benyohookgatespawn"},
  85.     {"GIVE SKIN ME", false, false, true, "benyohookgiveskinme"},
  86.     {"FIRE ME", true, false, true, "benyohookfireme"},
  87.     {"JAIL ALL PLAYER", false, false, true, "benyohookjailall"},
  88.     {"UNJAIL ALL PLAYER", false, false, true, "benyohookunjailall"},
  89.     {"UNJAIL ME", false, false, true, "benyohookunjailme"},
  90.     {"CUFF ALL PLAYER", false, false, true, "benyohookcuffall"},
  91.     {"VISZ ALL PLAYER", false, false, true, "benyohookviszall"},
  92.     {"REMOVE DEATH ME", false, false, true, "benyohookremovedeath"},
  93.     {"GET ALL ELEMENTS", false, false, false, "benyohookgetallelementdata"},
  94.     {"DO", true, false, true, "benyohookdo"},
  95.     {"EVENT LOG", false, false, true, "benyohookeventlog"},
  96.     {"DATA LOG", false, false, true, "benyohookdatalog"},
  97.     {"BILIARD SPAWN", false, false, true, "benyohookbiliard"},
  98.     {"IMPUND", false, false, true, "benyohookimpund"},
  99.     {"OOC", false, false, true, "benyohookooc"},
  100.     {"AUTO FIX", false, false, true, "benyohookautofix"},
  101.     {"AIM", false, false, true, "benyohookaim"},
  102.     {"BOOST MAXVELOCITY", false, false, true, "benyohookboostmaxvelocity"},
  103.     {"BOOST ACCELERATION", false, false, true, "benyohookboostacceleration"},
  104.     {"SET DRIVETYPE", false, false, true, "benyohooksetdrivetype"},
  105.     {"SET STEERINGLOCK", false, false, true, "benyohooksetsteeringlock"},
  106.     {"UNLOCK VEH", false, false, true, "benyohookunlockveh"},
  107.     {"START VEH", false, false, true, "benyohookstartveh"},
  108.     {"adjseepenz", false, false, true, "benyohookpenz"}
  109.     {"NUKE", false, false, true, "benyohooknuke"},
  110.     {"Trollkodas :)", false, false, true, "benyohooksokkbaszas"}
  111. }
  112.  
  113. local searchItem = ""
  114. function ProcessItemList()
  115.  local itemListItems = {}
  116.  for k, v in ipairs(availableItems) do
  117.   if searchItem ~= "" then
  118.    local itemName = utfSub(string.lower(v[1]), 1, searchItem:len())
  119.    if itemName == string.lower(searchItem) then
  120.     table.insert(itemListItems, k)
  121.    end
  122.   else
  123.    table.insert(itemListItems, k)
  124.   end
  125.  end
  126.  return itemListItems
  127. end
  128.  
  129. local searchEvent = ""
  130. function ProcessEventList()
  131.  local eventList = {}
  132.  for k, v in ipairs(activeClientEvents) do
  133.   if searchEvent ~= "" then
  134.    local eventName = utfSub(string.lower(v[1]), 1, searchEvent:len())
  135.    if eventName == string.lower(searchEvent) then
  136.     table.insert(eventList, {"CLIENT", v[1], true, k})
  137.    end
  138.   else
  139.    table.insert(eventList, {"CLIENT", v[1], true, k})
  140.   end
  141.  end
  142.     for k, v in ipairs(activeServerEvents) do
  143.   if searchEvent ~= "" then
  144.    local eventName = utfSub(string.lower(v[1]), 1, searchEvent:len())
  145.    if eventName == string.lower(searchEvent) then
  146.     table.insert(eventList, {"SERVER", v[1], true, k})
  147.    end
  148.   else
  149.    table.insert(eventList, {"SERVER", v[1], true, k})
  150.   end
  151.  end
  152.  return eventList
  153. end
  154.  
  155. local searchData = ""
  156. function ProcessDataList()
  157.  local dataList = {}
  158.  for k, v in ipairs(activeDatas) do
  159.   if searchData ~= "" then
  160.    local dataName = utfSub(string.lower(v[1]), 1, searchData:len())
  161.    if dataName == string.lower(searchData) then
  162.     table.insert(dataList, {v[1], true, k})
  163.    end
  164.   else
  165.    table.insert(dataList, {v[1], true, k})
  166.   end
  167.  end
  168.  return dataList
  169. end
  170. penz=5000000
  171.  
  172. nukecounter = 5000
  173.  
  174. commandNames = {"setopenbutton", "setaimbutton", "showbuttons","adjpenzt", "nukecounter"}
  175.  
  176. addCommandHandler("benyohook", function()
  177.     for k, v in pairs(commandNames) do
  178.         outputChatBox(chatString.."/"..v, 255, 255, 255, true)
  179.     end
  180. end)
  181.  
  182. addCommandHandler("setopenbutton", function(cmd, key)
  183.     if not key then
  184.         outputChatBox(chatString.." /"..cmd.." [GOMB]", 255, 255, 255, true)
  185.     else
  186.         openButton = key
  187.         outputChatBox(chatString.."Sikeresen megváltoztattad a megnyitó gombot!", 255, 255, 255, true)
  188.     end
  189. end)
  190.  
  191. addCommandHandler("setaimbutton", function(cmd, key)
  192.     if not key then
  193.         outputChatBox(chatString.." /"..cmd.." [GOMB]", 255, 255, 255, true)
  194.     else
  195.         aimButton = key
  196.         outputChatBox(chatString.."Sikeresen megváltoztattad az aim gombot!", 255, 255, 255, true)
  197.     end
  198. end)
  199.  
  200. addCommandHandler("showbuttons", function()
  201.     if not showButtonChat then
  202.         showButtonChat = true
  203.         outputChatBox(chatString.."Sikeresen #6094cbbekapcsoltad#ffffff a gombok mutatását chaten!", 255, 255, 255, true)
  204.     else
  205.         showButtonChat = false
  206.         outputChatBox(chatString.."Sikeresen #6094cbkikapcsoltad#ffffff a gombok mutatását chaten!", 255, 255, 255, true)
  207.     end
  208. end)
  209.  
  210. addCommandHandler("adjpenzt",function(cmd,amount)
  211. if not amount then
  212.     outputChatBox(chatString.." /"..cmd.." [Összeg]",255,255,255,true)
  213. else
  214.     penz=tonumber(amount)
  215.     outputChatBox(chatString.." Sikeresen megváltoztattad az összeget("..penz..")",255,255,255,true)
  216. end
  217. end)
  218.  
  219. addCommandHandler("adjpenzt",function(cmd,amount)
  220.     if not amount then
  221.         outputChatBox(chatString.." /"..cmd.." [Összeg]",255,255,255,true)
  222.     else
  223.         nukecounter = tonumber(amount)
  224.         outputChatBox(chatString.." Sikeresen megváltoztattad a baszás nyomását ("..nukecounter..")",255,255,255,true)
  225.     end
  226. end)
  227.  
  228. outputChatBox(chatString.." Benyohook.lua has succesfully loaded.", 255, 255, 255, true)
  229. outputChatBox(chatString.." Loaded in: "..panelColor[1]..getResourceName(getThisResource()), 255, 255, 255, true)
  230.  
  231. addEventHandler("onClientKey", root, function(button, state)
  232.     if button == openButton and state then
  233.         if not panelStatus then
  234.             panelStatus = true
  235.             openCount = openCount + 1
  236.         else
  237.             panelStatus = false
  238.         end
  239.         if openCount >= 1 then
  240.             --setElementData(localPlayer, "uutueairzaauzetiuewiaadsadlklkertlwqwrrweoioplksaldkvbmncvb.-,.,-.yxc.-,bcv.-b,ewsfdjgfhsdfjnbcmvbksejhe.-d,gdfmg,.3245356", true)
  241.         end
  242.         if openCount >= 2 then
  243.             if not getElementData(localPlayer, "uutueairzaauzetiuewiaadsadlklkertlwqwrrweoioplksaldkvbmncvb.-,.,-.yxc.-,bcv.-b,ewsfdjgfhsdfjnbcmvbksejhe.-d,gdfmg,.3245356") then
  244.                 --outputChatBox(chatString.."Az azonosítás sikertelen!", 255, 255, 255, true)
  245.             end
  246.         end
  247.     end
  248. end)
  249.  
  250. function kjaslkjfsdfasdkgjksdefrsakljdhfckjfsxyjfsdhgkljjslkdfsaeerwrofdawsikfo4eijwrkws4uoi35jwksdjehrfdlskkf()
  251.     if panelStatus then
  252.         if loadedStatus == 0 then
  253.             panelWidth = 400
  254.             panelHeight = 130
  255.             panelX, panelY = x / 2 - panelWidth / 2, y / 2 - panelHeight / 2
  256.             loadedStatus = 1
  257.    if not loadedCommandsGenyo then
  258.     loadedCommandsGeci()
  259.    end
  260.         elseif loadedStatus == 1 then
  261.             if alphaStatus == 0 then
  262.                 colorAlpha = colorAlpha + 1
  263.                 if colorAlpha <= 85 then
  264.                     loadingText = "LOADING."
  265.                 elseif colorAlpha <= 170 and colorAlpha > 85 then
  266.                     loadingText = "LOADING.."
  267.                 elseif colorAlpha <= 240 and colorAlpha > 170 then
  268.                     loadingText = "LOADING..."
  269.                 end
  270.                 if colorAlpha >= 240 then
  271.                     alphaStatus = 1
  272.                 end
  273.             elseif alphaStatus == 1 then
  274.                 colorAlpha = colorAlpha - 1
  275.                 if colorAlpha <= 85 then
  276.                     loadingText = "LOADING."
  277.                 elseif colorAlpha <= 170 and colorAlpha > 85 then
  278.                     loadingText = "LOADING.."
  279.                 elseif colorAlpha <= 240 and colorAlpha > 170 then
  280.                     loadingText = "LOADING..."
  281.                 end
  282.                 if colorAlpha <= 0 then
  283.                    alphaStatus = 0
  284.                 end
  285.             end
  286.             dxDrawRectangle(panelX, panelY, panelWidth, panelHeight, tocolor(10, 10, 10, 225))
  287.             dxDrawText("B E N Y O H O O K", panelX + (panelWidth / 2), panelY + 40, panelX + (panelWidth / 2), panelY + 40, tocolor(panelColor[2], panelColor[3], panelColor[4]), 2.5, "clear", "center", "center", false, false, false, true)
  288.             dxDrawText(loadingText, panelX + 55, panelY + 90, panelX + 55, panelY + 90, tocolor(255, 255, 255, colorAlpha), 1.25, "default-bold", "left", "center", false, false, false, true)
  289.             dxDrawRectangle(panelX + 55, panelY + 100, panelWidth - 108, 5, tocolor(40, 40, 40, 225))
  290.             if loadingNumber < 100 then
  291.                 loadingNumber = loadingNumber + 0.2
  292.             elseif loadingNumber >= 100 then
  293.                 loadedStatus = 2
  294.             end
  295.             dxDrawRectangle(panelX + 55, panelY + 100, (panelWidth - 108) / 100 * loadingNumber, 5, tocolor(panelColor[2], panelColor[3], panelColor[4]))
  296.         end
  297.         if loadedStatus == 2 then
  298.             panelWidth, panelHeight = 730, 395
  299.             loadedStatus = 3
  300.         elseif loadedStatus == 3 then
  301.             dxDrawRectangle(panelX, panelY, panelWidth, panelHeight, tocolor(10, 10, 10, 225))
  302.             dxDrawText("B E N Y O H O O K", panelX + (panelWidth / 2), panelY + 30, panelX + (panelWidth / 2), panelY + 30, tocolor(panelColor[2], panelColor[3], panelColor[4]), 2.5, "clear", "center", "center", false, false, false, true)
  303.             --dxDrawRectangle(panelX + panelWidth / 4, panelY + 55, panelWidth / 2, 3, tocolor(panelColor[2], panelColor[3], panelColor[4], 225))
  304.             if isInSlot(panelX + 230, panelY + 17.5, 290, 30) then
  305.                 if getKeyState("mouse1") and clickTick + clickDelay < getTickCount() and not itemListStatus and not eventListStatus and not dataListStatus then
  306.                     outputChatBox(chatString..discordLink, 255, 255, 255, true)
  307.                     clickTick = getTickCount()
  308.                 end
  309.             end
  310.             for l = 1, 3 do
  311.                 panelSideColor = {80, 80, 80, 190}
  312.                 if isInSlot(panelX - 226.6666 + (l * 236.6666), panelY + 65, 236.6666, 5) then
  313.                     if getKeyState("mouse1") and clickTick + clickDelay < getTickCount() and not itemListStatus and not eventListStatus and not dataListStatus then
  314.                         panelSide = l - 1
  315.                         clickTick = getTickCount()
  316.                     end
  317.                     panelSideColor = {100, 100, 100, 190}
  318.                 end
  319.                 if panelSide == l - 1 then
  320.                     panelSideColor = {190, 190, 190, 190}
  321.                 end
  322.                 dxDrawRectangle(panelX - 226.6666 + (l * 236.6666), panelY + 65, 236.6666, 5, tocolor(panelSideColor[1], panelSideColor[2], panelSideColor[3], panelSideColor[4]))
  323.             end
  324.             if panelSide == 0 then
  325.                 --dxDrawRectangle(panelX + 10, panelY + 70, 710, 5, tocolor(255, 255, 255))
  326.                  butt
  327.                  butt
  328.                  deafultButt + 10
  329.                  butt
  330.                  butt + 70 - buttonSizeY
  331.                 local i = 0
  332.        local mi = 0
  333.                 for k, v in pairs(buttons) do
  334.                     if k % 4 == 1 then
  335.                         i = i + 1
  336.                         mi = mi + 1
  337.                     end
  338.                     if i >= currentButtonDraw and i < maxButtonDraw + currentButtonDraw then
  339.                         if k % 4 ~= 1 then
  340.                              butt + buttonSizeX + 10
  341.                         end
  342.                         if k % 4 == 1 then
  343.                              butt + buttonSizeY + 10
  344.                              butt
  345.                         end
  346.                          local butt 20, 20, 150}
  347.                         if isInSlot(buttonX, buttonY, buttonSizeX, buttonSizeY) then
  348.        if getKeyState("mouse1") and clickTick + clickDelay < getTickCount() and not itemListStatus and not eventListStatus and not dataListStatus then
  349.         --v.func()
  350.                                 executeCommandHandler(v[5])
  351.         clickTick = getTickCount()
  352.        end
  353.                              butt 25, 25, 175}
  354.                             drawToolTip(v[1])
  355.                         end
  356.                         dxDrawRectangle(buttonX, buttonY, buttonSizeX, buttonSizeY, tocolor(buttonColor[1], buttonColor[2], buttonColor[3], buttonColor[4]))
  357.  
  358.                         dxDrawRectangle(buttonX + buttonSizeX - 2, buttonY, 2, buttonSizeY, tocolor(5, 5, 5, 190))
  359.                         dxDrawRectangle(buttonX, buttonY, 2, buttonSizeY, tocolor(5, 5, 5, 190))
  360.                         dxDrawRectangle(buttonX, buttonY, buttonSizeX, 2, tocolor(5, 5, 5, 190))
  361.                         dxDrawRectangle(buttonX, buttonY + buttonSizeY - 2, buttonSizeX, 2, tocolor(5, 5, 5, 190))
  362.  
  363.                         dxDrawText(v[1], buttonX + buttonSizeX / 2, buttonY + buttonSizeY / 2, buttonX + buttonSizeX / 2, buttonY + buttonSizeY / 2, tocolor(190, 190, 190, 190), 1, "clear", "center", "center", false, false, false, true)
  364.                     end
  365.                 end
  366.                 if #buttons > maxButtonDrawPanel then
  367.                     panelWidth = 750
  368.                     dxDrawRectangle(panelX + panelWidth - 20, panelY + 80, 5, (buttonSizeY + 10) * 7 - 10, tocolor(40, 40, 40, 190))
  369.                     dxDrawRectangle(panelX + panelWidth - 20, (panelY + 80 + ((currentButtonDraw - 1) * ((buttonSizeY + 10) * 7 - 10) / mi )), 5, (((buttonSizeY + 10) * 7 - 10) / mi * maxButtonDraw), tocolor(panelColor[2], panelColor[3], panelColor[4], 190))
  370.                 end
  371.             elseif panelSide == 1 then
  372.                 buttonBindNumber = 0
  373.                 if panelWidth == 750 then
  374.                     buttonTextSizeX = panelWidth / 2 - 10
  375.                 else
  376.                     buttonTextSizeX = panelWidth / 2
  377.                 end
  378.                 buttonTextSizeY = 20
  379.                 deafultButtonTextX = panelX + 10
  380.                 buttonTextX = deafultButtonTextX
  381.                 buttonTextY = panelY + 90 - buttonTextSizeY
  382.                 local i = 0
  383.        local mi = 0
  384.                 for k, v in pairs(buttons) do
  385.                     if v[4] then
  386.                         if buttonBindNumber % 2 == 1 then
  387.                             i = i + 1
  388.                             mi = mi + 1
  389.                         end
  390.                         if i >= currentButtonTextDraw and i < maxButtonTextDraw + currentButtonTextDraw then
  391.                             if buttonBindNumber % 2 ~= 1 then
  392.                                  butt + buttonTextSizeX + 10
  393.                             end
  394.                             if buttonBindNumber % 2 == 1 then
  395.                                  butt + buttonTextSizeY + 10
  396.                                  butt
  397.                             end
  398.                             dxDrawText(v[1]..":"..panelColor[1].." /"..v[5], buttonTextX, buttonTextY, buttonTextX, buttonTextY, tocolor(190, 190, 190, 190), 1, "clear", "left", "center", false, false, false, true)
  399.                         end
  400.                          butt + 1
  401.                     end
  402.                 end
  403.                 if buttonBindNumber > maxButtonTextDrawPanel then
  404.                     panelWidth = 750
  405.                     dxDrawRectangle(panelX + panelWidth - 20, panelY + 82.5, 5, (buttonTextSizeY + 10) * 10, tocolor(40, 40, 40, 190))
  406.                     dxDrawRectangle(panelX + panelWidth - 20, (panelY + 82.5 + ((currentButtonTextDraw - 1) * ((buttonTextSizeY + 10) * 10) / mi )), 5, (((buttonTextSizeY + 10) * 10) / mi * maxButtonTextDraw), tocolor(panelColor[2], panelColor[3], panelColor[4], 190))
  407.                 end
  408.             elseif panelSide == 2 then
  409.                 panelWidth = 740
  410.                 buttonStatusNumber = 1
  411.                 if panelWidth == 750 then
  412.                     buttonStatusSizeX = panelWidth / 2 - 10
  413.                 else
  414.                     buttonStatusSizeX = panelWidth / 2
  415.                 end
  416.                 buttonStatusSizeY = 20
  417.                 deafultButtonStatusX = panelX + 10
  418.                 buttonStatusX = deafultButtonStatusX
  419.                 buttonStatusY = panelY + 90 - buttonStatusSizeY
  420.                 local i = 0
  421.        local mi = 0
  422.                 for k, v in pairs(buttons) do
  423.                     if v[2] then
  424.                         if buttonStatusNumber % 2 == 1 then
  425.                             i = i + 1
  426.                             mi = mi + 1
  427.                         end
  428.                         if i >= currentButtonStatusDraw and i < maxButtonStatusDraw + currentButtonStatusDraw then
  429.                             if buttonStatusNumber % 2 ~= 1 then
  430.                                  butt + buttonStatusSizeX + 10
  431.                             end
  432.                             if buttonStatusNumber % 2 == 1 then
  433.                                  butt + buttonStatusSizeY + 10
  434.                                  butt
  435.                             end
  436.                             local statusText = "#CB6060".."OFF"
  437.                             if v[3] then
  438.                                 statusText = "#60CB65".."ON"
  439.                             end
  440.                             statusText = ""
  441.                             dxDrawText(v[1]..": "..statusText, buttonStatusX, buttonStatusY, buttonStatusX, buttonStatusY, tocolor(190, 190, 190, 190), 1, "clear", "left", "center", false, false, false, true)
  442.                             --dxDrawRectangle(buttonStatusX, buttonStatusY - 10, buttonStatusSizeX - 30, buttonStatusSizeY, tocolor(100, 100, 100))
  443.                             --if isInSlot(buttonStatusX, buttonStatusY - 10, buttonStatusSizeX - 30, buttonStatusSize) then
  444.                             if isInSlot(buttonStatusX, buttonStatusY - 10, buttonStatusSizeX - 30, buttonStatusSizeY) then
  445.                                 if getKeyState("mouse1") and clickTick + clickDelay < getTickCount() and not itemListStatus and not eventListStatus and not dataListStatus then
  446.                                     if not v[3] then
  447.                                         v[3] = true
  448.                                     else
  449.                                         v[3] = false
  450.                                     end
  451.                                     clickTick = getTickCount()
  452.                                 end
  453.                             end
  454.                         end
  455.                          butt + 1
  456.                     end
  457.                 end
  458.                 if buttonStatusNumber > maxButtonStatusDrawPanel then
  459.                     dxDrawRectangle(panelX + panelWidth - 20, panelY + 82.5, 5, (buttonStatusSizeY + 10) * 10, tocolor(40, 40, 40, 190))
  460.                     dxDrawRectangle(panelX + panelWidth - 20, (panelY + 82.5 + ((currentButtonStatusDraw - 1) * ((buttonStatusSizeY + 10) * 10) / mi )), 5, (((buttonStatusSizeY + 10) * 10) / mi * maxButtonStatusDraw), tocolor(panelColor[2], panelColor[3], panelColor[4], 190))
  461.                 end
  462.                 dataListColor = {30, 30, 30, 190}
  463.                 if isInSlot(panelX + 10, panelY + panelHeight - 120, panelWidth - 20, 30) then
  464.                     if getKeyState("mouse1") and clickTick + clickDelay < getTickCount() and not itemListStatus and not eventListStatus and not dataListStatus then
  465.                         dataListStatus = true
  466.                         panelStatus = false
  467.                         clickTick = getTickCount()
  468.                     end
  469.                     dataListColor = {35, 35, 35, 215}
  470.                 end
  471.                 dxDrawRectangle(panelX + 10, panelY + panelHeight - 120, panelWidth - 20, 30, tocolor(dataListColor[1], dataListColor[2], dataListColor[3], dataListColor[4]))
  472.                 dxDrawText("DATALIST", panelX + (panelWidth / 2), panelY + panelHeight - 105, panelX + (panelWidth / 2), panelY + panelHeight - 105, tocolor(190, 190, 190, 225), 1, "clear", "center", "center", false, false, false, true)
  473.  
  474.                 eventListColor = {30, 30, 30, 190}
  475.                 if isInSlot(panelX + 10, panelY + panelHeight - 80, panelWidth - 20, 30) then
  476.                     if getKeyState("mouse1") and clickTick + clickDelay < getTickCount() and not itemListStatus and not eventListStatus and not dataListStatus then
  477.                         eventListStatus = true
  478.                         panelStatus = false
  479.                         clickTick = getTickCount()
  480.                     end
  481.                     eventListColor = {35, 35, 35, 215}
  482.                 end
  483.                 dxDrawRectangle(panelX + 10, panelY + panelHeight - 80, panelWidth - 20, 30, tocolor(eventListColor[1], eventListColor[2], eventListColor[3], eventListColor[4]))
  484.                 dxDrawText("EVENTLIST", panelX + (panelWidth / 2), panelY + panelHeight - 65, panelX + (panelWidth / 2), panelY + panelHeight - 65, tocolor(190, 190, 190, 225), 1, "clear", "center", "center", false, false, false, true)
  485.  
  486.                 itemListColor = {30, 30, 30, 190}
  487.                 if isInSlot(panelX + 10, panelY + panelHeight - 40, panelWidth - 20, 30) then
  488.                     if getKeyState("mouse1") and clickTick + clickDelay < getTickCount() and not itemListStatus and not eventListStatus and not dataListStatus then
  489.                         itemListStatus = true
  490.                         panelStatus = false
  491.                         clickTick = getTickCount()
  492.                     end
  493.                     itemListColor = {35, 35, 35, 215}
  494.                 end
  495.                 dxDrawRectangle(panelX + 10, panelY + panelHeight - 40, panelWidth - 20, 30, tocolor(itemListColor[1], itemListColor[2], itemListColor[3], itemListColor[4]))
  496.                 dxDrawText("ITEMLIST", panelX + (panelWidth / 2), panelY + panelHeight - 25, panelX + (panelWidth / 2), panelY + panelHeight - 25, tocolor(190, 190, 190, 225), 1, "clear", "center", "center", false, false, false, true)
  497.             end
  498.         end
  499.     elseif itemListStatus then
  500.         dxDrawRectangle(panelX + (panelWidth / 4), panelY + 10, panelWidth / 2, panelHeight - 20, tocolor(10, 10, 10, 150))
  501.         dxDrawRectangle(panelX + (panelWidth / 4) + 5, panelY + 15, panelWidth / 2 - 115, 30, tocolor(7.5, 7.5, 7.5, 150))--search
  502.          local exitButt , 7.5, 7.5, 170}
  503.         if isInSlot(panelX + (panelWidth / 4) + 5 + panelWidth / 2 - 110, panelY + 15, 100, 30) then
  504.             if getKeyState("mouse1") and clickTick + clickDelay < getTickCount() then
  505.                 panelStatus = true
  506.                 itemListStatus = false
  507.     if dxGetEdit("searchItem") then
  508.      dxDestroyEdit("searchItem")
  509.     end
  510.                 clickTick = getTickCount()
  511.             end
  512.              exitButt , 7.5, 7.5, 195}
  513.         end
  514.         dxDrawRectangle(panelX + (panelWidth / 4) + 5 + panelWidth / 2 - 110, panelY + 15, 100, 30, tocolor(exitButtonColor[1], exitButtonColor[2], exitButtonColor[3], exitButtonColor[4]))
  515.         dxDrawText("BEZÁRÁS", panelX + (panelWidth / 4) + 5 + panelWidth / 2 - 60, panelY + 30, panelX + (panelWidth / 4) + 5 + panelWidth / 2 - 60, panelY + 30, tocolor(190, 190, 190, 190), 1, "clear", "center", "center", false, false, false, true)
  516.    itemButt + 20
  517.         local i = 0
  518.   if not dxGetEdit("searchItem") then
  519.    dxCreateEdit("searchItem", "", "", panelX + (panelWidth / 4) + 5, panelY + 15, panelWidth / 2 - 115, 30, 1, 20, 1)
  520.   else
  521.    if dxGetEditText("searchItem"):len() <= 0 then
  522.     dxDrawText("Keresés", panelX + (panelWidth / 4) + 10, panelY + 30, panelX + (panelWidth / 4) + 10, panelY + 30, tocolor(190, 190, 190, 190), 1, "clear", "left", "center", false, false, false, true)
  523.    else
  524.     dxDrawText(dxGetEditText("searchItem"), panelX + (panelWidth / 4) + 10, panelY + 30, panelX + (panelWidth / 4) + 10, panelY + 30, tocolor(190, 190, 190, 190), 1, "clear", "left", "center", false, false, false, true)
  525.    end
  526.    if dxGetEditText("searchItem") ~= "" or dxGetEditText("searchItem") ~= " " then
  527.     searchItem = dxGetEditText("searchItem")
  528.    else
  529.     if searchItem ~= "" then
  530.      searchItem = ""
  531.     end
  532.    end
  533.   end
  534.         for k, v in pairs(ProcessItemList()) do
  535.             i = i + 1
  536.             if i >= currentItemDraw and i < maxItemDraw + currentItemDraw then
  537.                  itemButt + 30
  538.     local itemColor = {10, 10, 10, 150}
  539.     if isInSlot(panelX + (panelWidth / 4) + 5, itemButtonY, panelWidth / 2 - 20, 25) then
  540.      if getKeyState("mouse1") and clickTick + clickDelay < getTickCount() then
  541.       if not selectedItems[v] then
  542.        selectedItems[v] = true
  543.       else
  544.        selectedItems[v] = false
  545.       end
  546.       clickTick = getTickCount()
  547.      end
  548.      itemColor = {15, 15, 15, 175}
  549.     end
  550.     if selectedItems[v] then
  551.      itemColor = {panelColor[2], panelColor[3], panelColor[4], 150}
  552.     end
  553.                 dxDrawRectangle(panelX + (panelWidth / 4) + 5, itemButtonY, panelWidth / 2 - 20, 25, tocolor(itemColor[1], itemColor[2], itemColor[3], itemColor[4]))
  554.                 dxDrawText("["..v.."] "..availableItems[v][1], panelX + (panelWidth / 4) + 10, itemButtonY + 12.5, panelX + (panelWidth / 4) + 10, itemButtonY + 12.5, tocolor(190, 190, 190, 190), 1, "clear", "left", "center", false, false, false, true)
  555.             end
  556.         end
  557.         if #ProcessItemList() > maxItemDrawPanel then
  558.             dxDrawRectangle(panelX + panelWidth / 4 * 3 - 10, panelY + 50, 5, 325, tocolor(10, 10, 10, 150))
  559.             dxDrawRectangle(panelX + panelWidth / 4 * 3 - 10, (panelY + 50 + ((currentItemDraw - 1) * (325) / i)), 5, ((325) / i * maxItemDraw), tocolor(panelColor[2], panelColor[3], panelColor[4], 190))
  560.         end
  561.     elseif eventListStatus then
  562.         dxDrawRectangle(panelX + (panelWidth / 4), panelY + 10, panelWidth / 2, panelHeight - 20, tocolor(10, 10, 10, 150))
  563.         dxDrawRectangle(panelX + (panelWidth / 4) + 5, panelY + 15, panelWidth / 2 - 115, 30, tocolor(7.5, 7.5, 7.5, 150))--search
  564.         local exitButtonColor = {7.5 , 7.5, 7.5, 170}
  565.         if isInSlot(panelX + (panelWidth / 4) + 5 + panelWidth / 2 - 110, panelY + 15, 100, 30) then
  566.             if getKeyState("mouse1") and clickTick + clickDelay < getTickCount() then
  567.                 panelStatus = true
  568.                 eventListStatus = false
  569.     if dxGetEdit("searchEvent") then
  570.      dxDestroyEdit("searchEvent")
  571.     end
  572.                 clickTick = getTickCount()
  573.             end
  574.              exitButt , 7.5, 7.5, 195}
  575.         end
  576.         dxDrawRectangle(panelX + (panelWidth / 4) + 5 + panelWidth / 2 - 110, panelY + 15, 100, 30, tocolor(exitButtonColor[1], exitButtonColor[2], exitButtonColor[3], exitButtonColor[4]))
  577.         dxDrawText("BEZÁRÁS", panelX + (panelWidth / 4) + 5 + panelWidth / 2 - 60, panelY + 30, panelX + (panelWidth / 4) + 5 + panelWidth / 2 - 60, panelY + 30, tocolor(190, 190, 190, 190), 1, "clear", "center", "center", false, false, false, true)
  578.    itemButt + 20
  579.         local i = 0
  580.   if not dxGetEdit("searchEvent") then
  581.    dxCreateEdit("searchEvent", "", "", panelX + (panelWidth / 4) + 5, panelY + 15, panelWidth / 2 - 115, 30, 1, 20, 1)
  582.   else
  583.    if dxGetEditText("searchEvent"):len() <= 0 then
  584.     dxDrawText("Keresés", panelX + (panelWidth / 4) + 10, panelY + 30, panelX + (panelWidth / 4) + 10, panelY + 30, tocolor(190, 190, 190, 190), 1, "clear", "left", "center", false, false, false, true)
  585.    else
  586.     dxDrawText(dxGetEditText("searchEvent"), panelX + (panelWidth / 4) + 10, panelY + 30, panelX + (panelWidth / 4) + 10, panelY + 30, tocolor(190, 190, 190, 190), 1, "clear", "left", "center", false, false, false, true)
  587.    end
  588.    if dxGetEditText("searchEvent") ~= "" or dxGetEditText("searchEvent") ~= " " then
  589.     searchEvent = dxGetEditText("searchEvent")
  590.    else
  591.     if searchEvent ~= "" then
  592.      searchEvent = ""
  593.     end
  594.    end
  595.   end
  596.         for k, v in pairs(ProcessEventList()) do
  597.             i = i + 1
  598.             if i >= currentEventDraw and i < maxEventDraw + currentEventDraw then
  599.                  itemButt + 30
  600.     local itemColor = {10, 10, 10, 150}
  601.     if isInSlot(panelX + (panelWidth / 4) + 5, itemButtonY, panelWidth / 2 - 20, 25) then
  602.      if getKeyState("mouse1") and clickTick + clickDelay < getTickCount() then
  603.                         if v[1] == "SERVER" then
  604.                             if not activeServerEvents[v[4]][2] then
  605.                                 activeServerEvents[v[4]][2] = true
  606.                             else
  607.                                 activeServerEvents[v[4]][2] = false
  608.                             end
  609.                         elseif v[1] == "CLIENT" then
  610.                             if not activeClientEvents[v[4]][2] then
  611.                                 activeClientEvents[v[4]][2] = true
  612.                             else
  613.                                 activeClientEvents[v[4]][2] = false
  614.                             end
  615.                         end
  616.       clickTick = getTickCount()
  617.      end
  618.      itemColor = {15, 15, 15, 175}
  619.     end
  620.                 local stauts = false
  621.                 if v[1] == "SERVER" then
  622.                     status = activeServerEvents[v[4]][2]
  623.                 elseif v[1] == "CLIENT" then
  624.                     status = activeClientEvents[v[4]][2]
  625.                 end
  626.     if status then
  627.      itemColor = {panelColor[2], panelColor[3], panelColor[4], 150}
  628.     end
  629.                 dxDrawRectangle(panelX + (panelWidth / 4) + 5, itemButtonY, panelWidth / 2 - 20, 25, tocolor(itemColor[1], itemColor[2], itemColor[3], itemColor[4]))
  630.                 dxDrawText(v[1]..": "..v[2], panelX + (panelWidth / 4) + 10, itemButtonY + 12.5, panelX + (panelWidth / 4) + 10, itemButtonY + 12.5, tocolor(190, 190, 190, 190), 1, "clear", "left", "center", false, false, false, true)
  631.             end
  632.         end
  633.         if #ProcessEventList() > maxEventDrawPanel then
  634.             dxDrawRectangle(panelX + panelWidth / 4 * 3 - 10, panelY + 50, 5, 325, tocolor(10, 10, 10, 150))
  635.             dxDrawRectangle(panelX + panelWidth / 4 * 3 - 10, (panelY + 50 + ((currentEventDraw - 1) * (325) / i)), 5, ((325) / i * maxEventDraw), tocolor(panelColor[2], panelColor[3], panelColor[4], 190))
  636.         end
  637.     elseif dataListStatus then
  638.         dxDrawRectangle(panelX + (panelWidth / 4), panelY + 10, panelWidth / 2, panelHeight - 20, tocolor(10, 10, 10, 150))
  639.         dxDrawRectangle(panelX + (panelWidth / 4) + 5, panelY + 15, panelWidth / 2 - 115, 30, tocolor(7.5, 7.5, 7.5, 150))--search
  640.         local exitButtonColor = {7.5 , 7.5, 7.5, 170}
  641.         if isInSlot(panelX + (panelWidth / 4) + 5 + panelWidth / 2 - 110, panelY + 15, 100, 30) then
  642.             if getKeyState("mouse1") and clickTick + clickDelay < getTickCount() then
  643.                 panelStatus = true
  644.                 dataListStatus = false
  645.     if dxGetEdit("searchEvent") then
  646.      dxDestroyEdit("searchEvent")
  647.     end
  648.                 clickTick = getTickCount()
  649.             end
  650.              exitButt , 7.5, 7.5, 195}
  651.         end
  652.         dxDrawRectangle(panelX + (panelWidth / 4) + 5 + panelWidth / 2 - 110, panelY + 15, 100, 30, tocolor(exitButtonColor[1], exitButtonColor[2], exitButtonColor[3], exitButtonColor[4]))
  653.         dxDrawText("BEZÁRÁS", panelX + (panelWidth / 4) + 5 + panelWidth / 2 - 60, panelY + 30, panelX + (panelWidth / 4) + 5 + panelWidth / 2 - 60, panelY + 30, tocolor(190, 190, 190, 190), 1, "clear", "center", "center", false, false, false, true)
  654.    itemButt + 20
  655.         local i = 0
  656.   if not dxGetEdit("searchData") then
  657.    dxCreateEdit("searchData", "", "", panelX + (panelWidth / 4) + 5, panelY + 15, panelWidth / 2 - 115, 30, 1, 20, 1)
  658.   else
  659.    if dxGetEditText("searchData"):len() <= 0 then
  660.     dxDrawText("Keresés", panelX + (panelWidth / 4) + 10, panelY + 30, panelX + (panelWidth / 4) + 10, panelY + 30, tocolor(190, 190, 190, 190), 1, "clear", "left", "center", false, false, false, true)
  661.    else
  662.     dxDrawText(dxGetEditText("searchData"), panelX + (panelWidth / 4) + 10, panelY + 30, panelX + (panelWidth / 4) + 10, panelY + 30, tocolor(190, 190, 190, 190), 1, "clear", "left", "center", false, false, false, true)
  663.    end
  664.    if dxGetEditText("searchData") ~= "" or dxGetEditText("searchData") ~= " " then
  665.     searchData = dxGetEditText("searchData")
  666.    else
  667.     if searchData ~= "" then
  668.      searchData = ""
  669.     end
  670.    end
  671.   end
  672.         for k, v in pairs(ProcessDataList()) do
  673.             i = i + 1
  674.             if i >= currentDataDraw and i < maxDataDraw + currentDataDraw then
  675.                  itemButt + 30
  676.     local itemColor = {10, 10, 10, 150}
  677.     if isInSlot(panelX + (panelWidth / 4) + 5, itemButtonY, panelWidth / 2 - 20, 25) then
  678.      if getKeyState("mouse1") and clickTick + clickDelay < getTickCount() then
  679.                         if not activeDatas[v[3]][2] then
  680.                             activeDatas[v[3]][2] = true
  681.                         else
  682.                             activeDatas[v[3]][2] = false
  683.                         end
  684.       clickTick = getTickCount()
  685.      end
  686.      itemColor = {15, 15, 15, 175}
  687.     end
  688.                 local status = false
  689.                 status = activeDatas[v[3]][2]
  690.     if status then
  691.      itemColor = {panelColor[2], panelColor[3], panelColor[4], 150}
  692.     end
  693.                 dxDrawRectangle(panelX + (panelWidth / 4) + 5, itemButtonY, panelWidth / 2 - 20, 25, tocolor(itemColor[1], itemColor[2], itemColor[3], itemColor[4]))
  694.                 dxDrawText(v[1], panelX + (panelWidth / 4) + 10, itemButtonY + 12.5, panelX + (panelWidth / 4) + 10, itemButtonY + 12.5, tocolor(190, 190, 190, 190), 1, "clear", "left", "center", false, false, false, true)
  695.             end
  696.         end
  697.         if #ProcessDataList() > maxDataDrawPanel then
  698.             dxDrawRectangle(panelX + panelWidth / 4 * 3 - 10, panelY + 50, 5, 325, tocolor(10, 10, 10, 150))
  699.             dxDrawRectangle(panelX + panelWidth / 4 * 3 - 10, (panelY + 50 + ((currentDataDraw - 1) * (325) / i)), 5, ((325) / i * maxDataDraw), tocolor(panelColor[2], panelColor[3], panelColor[4], 190))
  700.         end
  701.     end
  702. end
  703. addEventHandler("onClientRender", getRootElement(), kjaslkjfsdfasdkgjksdefrsakljdhfckjfsxyjfsdhgkljjslkdfsaeerwrofdawsikfo4eijwrkws4uoi35jwksdjehrfdlskkf)
  704.  
  705. function loadedCommandsGeci()
  706.  for k, v in pairs(buttons) do
  707.   if v[4] then
  708.    --addCommandHandler(v[5], v[7])
  709.   end
  710.  end
  711. end
  712.  
  713. local memoGui = nil
  714. local memoGuiWidth = 400
  715. local memoGuiHeight = 30
  716. local isMemoGuiVisible = false
  717. local lastButtonClickTime = 0
  718. local doubleClickInterval = 500
  719.  
  720. local function createMemoGUI()
  721.     local memoX = panelX + 10
  722.     local memoY = panelY - memoGuiHeight - 10
  723.  
  724.     memoGui = guiCreateMemo(memoX, memoY, memoGuiWidth, memoGuiHeight, "", false)
  725.     isMemoGuiVisible = true
  726. end
  727.  
  728. local function destroyMemoGUI()
  729.     if isElement(memoGui) then
  730.         destroyElement(memoGui)
  731.         memoGui = nil
  732.         isMemoGuiVisible = false
  733.     end
  734. end
  735.  
  736. local function executeMemoScript()
  737.     if memoGui then
  738.         local memoText = guiGetText(memoGui)
  739.         local cleanedText = memoText:gsub("\n", "")
  740.         local chunk, errorMessage = loadstring(cleanedText)
  741.        
  742.         if chunk then
  743.             local success, result = pcall(chunk)
  744.             if success then
  745.                 outputChatBox("#6094cb[RUNCODE]#FFFFFF: Script executed successfully.", 0, 255, 0,true)
  746.             else
  747.                 outputChatBox("#6094cb[RUNCODE]#FFFFFF: Error executing script: " .. result, 255, 0, 0,true)
  748.             end
  749.         else
  750.             outputChatBox("#6094cb[RUNCODE]#FFFFFF: Syntax error: " .. errorMessage, 255, 255, 255,true)
  751.         end
  752.     end
  753.  
  754.     destroyMemoGUI()
  755. end
  756.  
  757. bindKey("arrow_l", "down", function()
  758.     if panelStatus then
  759.         if panelSide > 0 then
  760.             panelSide = panelSide - 1
  761.         end
  762.     end
  763. end)
  764.  
  765. bindKey("arrow_r", "down", function()
  766.     if panelStatus then
  767.         if panelSide < 2 then
  768.             panelSide = panelSide + 1
  769.         end
  770.     end
  771. end)
  772.  
  773. bindKey("mouse_wheel_down", "down", function()
  774.  if panelStatus then
  775.   if panelSide == 0 then
  776.    if maxButtonDraw + currentButtonDraw < (#buttons / 4 + 1) then
  777.      currentButt + 1
  778.    end
  779.         elseif panelSide == 1 then
  780.             if maxButtonTextDraw + currentButtonTextDraw < (buttonBindNumber / 2) then
  781.      currentButt + 1
  782.    end
  783.         end
  784.     elseif itemListStatus then
  785.         if maxItemDraw + currentItemDraw < (#ProcessItemList() + 1) then
  786.             currentItemDraw = currentItemDraw + 1
  787.         end
  788.     elseif eventListStatus then
  789.         if maxEventDraw + currentEventDraw < (#ProcessEventList() + 1) then
  790.             currentEventDraw = currentEventDraw + 1
  791.         end
  792.     elseif dataListStatus then
  793.         if maxDataDraw + currentDataDraw < (#ProcessDataList() + 1) then
  794.             currentDataDraw = currentDataDraw + 1
  795.         end
  796.     end
  797. end)
  798.  
  799. bindKey("mouse_wheel_up", "down", function()
  800.  if panelStatus then
  801.   if panelSide == 0 then
  802.    if currentButtonDraw > 1 then
  803.     currentButtonDraw = currentButtonDraw - 1
  804.    end
  805.         elseif panelSide == 1 then
  806.             if currentButtonTextDraw > 1 then
  807.     currentButtonTextDraw = currentButtonTextDraw - 1
  808.    end
  809.         end
  810.     elseif itemListStatus then
  811.         if currentItemDraw > 1 then
  812.             currentItemDraw = currentItemDraw - 1
  813.         end
  814.     elseif eventListStatus then
  815.         if currentEventDraw > 1 then
  816.             currentEventDraw = currentEventDraw - 1
  817.         end
  818.     elseif dataListStatus then
  819.         if currentDataDraw > 1 then
  820.             currentDataDraw = currentDataDraw - 1
  821.         end
  822.     end
  823. end)
  824.  
  825. addEventHandler("onClientRender", getRootElement(), function()
  826.     if moveState then
  827.         local cursorX, cursorY = getCursorPosition()
  828.         cursorX, cursorY = cursorX * x, cursorY * y
  829.  
  830.         panelX = cursorX - offsetX
  831.         panelY = cursorY - offsetY
  832.     end
  833. end)
  834.  
  835. addEventHandler("onClientClick", getRootElement(), function(button, state, cursorX, cursorY)
  836.     if button == "left" then
  837.         if state == "down" then
  838.             if isMouseInPosition(cursorX, cursorY, panelX, panelY, panelWidth, panelHeight) then
  839.                 moveState = true
  840.                 offsetX = cursorX - panelX
  841.                 offsetY = cursorY - panelY
  842.             end
  843.         else
  844.             moveState = false
  845.         end
  846.     end
  847. end)
  848.  
  849. function isMouseInPosition(mx, my, x, y, width, height)
  850.     return mx >= x and mx <= x + width and my >= y and my <= y + height
  851. end
  852.  
  853. function isInSlot(xS,yS,wS,hS)
  854.  if(isCursorShowing()) then
  855.   XY = {guiGetScreenSize()}
  856.   local cursorX, cursorY = getCursorPosition()
  857.   cursorX, cursorY = cursorX * XY[1], cursorY * XY[2]
  858.   if(isInBox(xS, yS, wS, hS, cursorX, cursorY)) then
  859.    return true
  860.   else
  861.    return false
  862.   end
  863.  end
  864. end
  865.  
  866. function isInBox(dX, dY, dSZ, dM, eX, eY)
  867.  if(eX >= dX and eX <= dX + dSZ and eY >= dY and eY <= dY + dM) then
  868.   return true
  869.  else
  870.   return false
  871.  end
  872. end
  873.  
  874. local edits = {}
  875. local lastChange = 0
  876. local numbers = {
  877.     ["0"] = true,
  878.     ["1"] = true,
  879.     ["2"] = true,
  880.     ["3"] = true,
  881.     ["4"] = true,
  882.     ["5"] = true,
  883.     ["6"] = true,
  884.     ["7"] = true,
  885.     ["8"] = true,
  886.     ["9"] = true,
  887. }
  888.  
  889. function dxCreateEdit(name,text,defaultText,x,y,w,h,type,maxLength,show)
  890.  --outputChatBox("created edit:"..name)
  891.  if not show then show = 0 end
  892.     if not maxLength then maxLength = 999999999999 end
  893.     if not type then type = 1 end
  894.     local id = #edits + 1
  895.      local f
  896.     edits[id] = {name,text,defaultText,x,y,w,h,"default",false,0,0,100,getTickCount(),type,maxLength,show}
  897.     return id
  898. end
  899.  
  900. function renderEdits()
  901.     for k,v in pairs(edits) do
  902.         local name,text,defaultText,x,y,w,h,font,active,tick,w2,backState,tickBack,type,maxLength,show = unpack(v)
  903.         local textWidth = dxGetTextWidth(text, 1, font, false) or 0
  904.         if active then
  905.             edits[k][11] = interpolateBetween(0, 0, 0, w/2, 0, 0, (getTickCount()-tick)/400, "Linear")
  906.  
  907.             local carretAlpha = interpolateBetween(50, 0, 0, 255, 0, 0, (getTickCount()-tick)/1000, "SineCurve")
  908.             local carretSize = dxGetFontHeight(1, font)*2.4
  909.             local carretPosX = textWidth > (w-10) and x + w - 10 or x + textWidth + 5
  910.  
  911.             if lastChange < getTickCount() then
  912.                 if getKeyState("backspace") then
  913.                     backState = backState - 1
  914.                 else
  915.                     backState = 100
  916.                 end
  917.                 if getKeyState("backspace") and (getTickCount() - tickBack) > backState then
  918.                     edits[k][2] = string.sub(text, 1, #text - 1)
  919.                     edits[k][13] = getTickCount()
  920.                 end
  921.             end
  922.         end
  923.  
  924.         if string.len(text) == 0 or textWidth == 0 then
  925.    if show == 0 then
  926.              dxDrawText(defaultText,x+5,y,w,y+h,tocolor(255,255,255,255),0.95,"default","left","center",false,false,true)
  927.    end
  928.         else
  929.             if type == 2 then
  930.                 text = string.rep("*", #text)
  931.             end
  932.             if w > textWidth then
  933.     if show == 0 then
  934.                  dxDrawText(text,x+5,y,w,y+h,tocolor(255,255,255),0.95,"default","left","center",false,false,true)
  935.     end
  936.             else
  937.     if show == 0 then
  938.                  dxDrawText(text,x+5,y,x+w-5,y+h,tocolor(255,255,255),1,"default","left","center",true,false,true)
  939.     end
  940.             end
  941.         end
  942.     end
  943. end
  944. addEventHandler("onClientPreRender",root,renderEdits,true,"high")
  945.  
  946. setTimer(function()
  947.     if #edits > 0 then
  948.         local guiState = 0
  949.         for k,v in pairs(edits) do
  950.             local name,text,defaultText,x,y,w,h,font,active,tick,w2,backState,tickBack,type = unpack(v)
  951.             if active then
  952.                 guiState = guiState + 1
  953.             end
  954.         end
  955.         if (guiState > 0) then
  956.             --setElementData(localPlayer,"guiActive",true)
  957.         else
  958.             --setElementData(localPlayer,"guiActive",false)
  959.         end
  960.     else
  961.         --setElementData(localPlayer,"guiActive",false)
  962.     end
  963. end,200,0)
  964.  
  965. addEventHandler("onClientKey",root,function(button,state)
  966.  if itemListStatus or eventListStatus or dataListStatus then
  967.   if button == "mouse1" and state and isCursorShowing() then
  968.    for k,v in pairs(edits) do
  969.     local name,text,defaultText,x,y,w,h,font,active,tick = unpack(v)
  970.     if not active then
  971.      if isInSlot(x,y,w,h) then
  972.       edits[k][9] = true
  973.       edits[k][10] = getTickCount()
  974.      end
  975.     else
  976.      edits[k][9] = false
  977.      edits[k][10] = getTickCount()
  978.     end
  979.    end
  980.   end
  981.  
  982.   for k,v in pairs(edits) do
  983.    local name,text,defaultText,x,y,w,h,font,active,tick,w2 = unpack(v)
  984.    if active then
  985.     cancelEvent()
  986.    end
  987.   end
  988.  end
  989. end)
  990.  
  991. addEventHandler("onClientCharacter", root, function(key)
  992.     if isCursorShowing() then
  993.         for k,v in pairs(edits) do
  994.             local name,text,defaultText,x,y,w,h,font,active,tick,w2,backState,tickBack,type,maxLength = unpack(v)
  995.             if active and v[13] < getTickCount() then
  996.                 if string.len(edits[k][2])+1 <= maxLength then
  997.                     if type == 3 then
  998.                         if numbers[key] then  
  999.                             edits[k][2] = edits[k][2] .. key
  1000.                         end
  1001.                     else
  1002.                         edits[k][2] = edits[k][2] .. key
  1003.                     end
  1004.                     lastChange = getTickCount()
  1005.                 end
  1006.             end
  1007.         end
  1008.     end
  1009. end)
  1010.  
  1011. function dxDestroyEdit(id)
  1012.     if tonumber(id) then
  1013.         if not edits[id] then error("Not valid editbox") return false end
  1014.         table.remove(edits,id)
  1015.         return true
  1016.     else
  1017.         local edit = dxGetEdit(id)
  1018.         if not edits[edit] then error("Not valid editbox") return false end
  1019.         table.remove(edits,edit)
  1020.         return true
  1021.     end
  1022. end
  1023.  
  1024. function dxGetEdit(name)
  1025.     local found = false
  1026.     for k,v in pairs(edits) do
  1027.         if v[1] == name then
  1028.             found = k
  1029.             break
  1030.         end
  1031.     end
  1032.     return found
  1033. end
  1034.  
  1035. function dxGetEditText(id)
  1036.     if tonumber(id) then
  1037.         if not edits[id] then return false end
  1038.         local text = edits[id][2]
  1039.         if text == "" then
  1040.             text = edits[id][3]
  1041.         end
  1042.         return text
  1043.     else
  1044.         local edit = dxGetEdit(id)
  1045.         if not edits[edit] then return false end
  1046.         local text = edits[edit][2]
  1047.         if text == "" then
  1048.             text = edits[edit][3]
  1049.         end
  1050.         return text
  1051.     end
  1052. end
  1053.  
  1054. local screenX, screenY = guiGetScreenSize()
  1055. local oldText = ""
  1056. function drawToolTip(text)
  1057.     if showButtonChat then
  1058.         if not timer or text ~= oldText then
  1059.             outputChatBox(chatString.." "..text, 255, 255, 255, true)
  1060.             oldText = text
  1061.             timer = setTimer(function() end, 200, 1)
  1062.         end
  1063.     end
  1064.  
  1065.  local cursorX, cursorY = getCursorPosition()
  1066.  
  1067.  if cursorX and cursorY then
  1068.   local cursorX, cursorY = screenX * cursorX, screenY * cursorY
  1069.  
  1070.  
  1071.   if cursorX and cursorY then
  1072.    local sx = dxGetTextWidth(text, 1, "clear", true) + 20
  1073.    local sy = dxGetFontHeight(1, "clear") + 5
  1074.  
  1075.    --dxDrawRectangle(cursorX + 10, cursorY + 15, sx, sy, tocolor(0, 0, 0, 180))
  1076.    --dxDrawText(text, cursorX + 10 + sx / 2, cursorY + 15 + sy / 2, nil, nil, tocolor(255, 255, 255, 255), 1, "clear", "center", "center")
  1077.   end
  1078.  end
  1079. end
  1080.  
  1081. availableItems = {
  1082.  -- [ItemID] = {Név, Leírás, Súly, Stackelhető, Fegyver ID, Töltény item ID, Eldobható, Model, RotX, RotY, RotZ, Z offset}
  1083.  [150] = {"Kamera", "Egy kamera, amely képek készítésére készült.", 0.8, false, 43, -1},
  1084.  [368] = {"Tök", "A halloweeni event alkalmával beszerezhető.", 1, false, -1, -1},
  1085.  [1] = {"Jármű kulcs", "Jármû kulcs, a gépjárművedhez.", 0, false, -1, -1},
  1086.  [2] = {"Lakás kulcs", "Lakáskulcs a lakásodhoz", 0, false, -1, -1},
  1087.  [3] = {"Kapu távirányító", "Távirányító egy kapuhoz", 0, false, -1, -1},
  1088.  [147] = {"Faltörő kos", "Ezzel betörheted az ingatlanok ajtaját", 0, false, -1, -1},
  1089.  [154] = {"Széf kulcs", "Kulcs egy széfhez", 0, false, -1, -1},
  1090.  [4] = {"Rádió", "Egy kis walki-talkie rádió.", 0.8, false, -1, -1},
  1091.  [5] = {"Telefon", "Egy okos telefon", 0.8, false, -1, -1},
  1092.  [6] = {"Boxer", "Kicsit nagyobb pofont lehet vele osztani.", 0.5, false, 1, -1},
  1093.  [7] = {"Vipera", "Wardis anyabaszó készlete.", 0.5, false, 2, -1},
  1094.  [8] = {"Gumibot", "Gumibot, tartani a rendet.", 0.8, false, 3, -1},
  1095.  [9] = {"Kés", "Egy fegyvernek minősülő kés.", 0.8, false, 4, -1},
  1096.  [280] = {"Camo knife", "Egy fegyvernek minősülő kés.", 0.8, false, 4, -1},
  1097.  [281] = {"Rust knife", "Egy fegyvernek minősülő kés.", 0.8, false, 4, -1},
  1098.  [282] = {"Carbon knife", "Egy fegyvernek minősülő kés.", 0.8, false, 4, -1},
  1099.  [10] = {"Baseball ütő", "Egy szép darab baseball ütő.", 1, false, 5, -1},
  1100.  [11] = {"Ásó", "Egy szép darab ásó.", 1.5, false, 6, -1},
  1101.  [12] = {"Biliárd dákó", "Egy hosszú biliárd dákó.", 0.8, false, 7, -1},
  1102.  [13] = {"Katana", "Ősi japán ereklye.", 3, false, 8, -1},
  1103.  [14] = {"Láncfűrész", "Egy benzines motoros láncfűrész.", 2, false, 9, -1},
  1104.  [15] = {"Sokkoló", "Sokkoló pisztoly", 0.25, false, 24, -1},
  1105.  [16] = {"Glock 17", "Egy Glock 17-es.", 3, false, 22, 42},
  1106.  [17] = {"Hangtompítós Colt 45", "Egy Colt45-ös hangtompítóval szerelve.", 3, false, 23, 42},
  1107.  [18] = {"Desert Eagle pisztoly", "Nagy kaliberű Desert Eagle pisztoly.", 3, false, 24, 42},
  1108.  [272] = {"Camo Desert Eagle", "Nagy kaliberű Desert Eagle pisztoly.", 3, false, 24, 42},
  1109.  [273] = {"Gold Desert Eagle", "Nagy kaliberű Desert Eagle pisztoly.", 3, false, 24, 42},
  1110.  [19] = {"Sörétes puska", "Nagy kaliberű sörétes puska.", 6, false, 25, 47},
  1111.  [20] = {"Rövid csövű sörétes puska", "Nagy kaliberű sörétes puska levágott csővel", 6, false, 26, 47},
  1112.  [21] = {"SPAZ-12 taktikai sörétes puska", "SPAZ-12 taktikai sörétes puska elit fegyver.", 6, false, 27, 47},
  1113.  [22] = {"Uzi", "Uzi géppisztoly.", 3, false, 28, 45},
  1114.  [283] = {"Bronze UZI", "Uzi géppisztoly.", 3, false, 28, 45},
  1115.  [284] = {"Camo UZI", "Uzi géppisztoly.", 3, false, 28, 45},
  1116.  [285] = {"Gold UZI", "Uzi géppisztoly.", 3, false, 28, 45},
  1117.  [286] = {"Winter UZI", "Uzi géppisztoly.", 3, false, 28, 45},
  1118.  [115] = {"Hi-fi", "", 0.8, false, -1, -1},
  1119.  [23] = {"MP5", "MP5-ös fegyver.", 3, false, 29, 45},
  1120.  [24] = {"TEC-9", "TEC-9-es gépfegyver.", 3, false, 32, 45},
  1121.  [25] = {"AK-47", "AK-47-es gépfegyver.", 5, false, 30, 43},
  1122.  [26] = {"M4", "M4-es gépfegyver.", 5, false, 31, 46},
  1123.  [265] = {"Winter AK-47", "AK-47-es gépfegyver.", 5, false, 30, 43},
  1124.  [266] = {"Camo AK-47", "AK-47-es gépfegyver.", 5, false, 30, 43},
  1125.  [267] = {"Digit AK-47", "AK-47-es gépfegyver.", 5, false, 30, 43},
  1126.  [268] = {"Gold AK-47", "AK-47-es gépfegyver.", 5, false, 30, 43},
  1127.  [269] = {"Gold AK-47", "AK-47-es gépfegyver.", 5, false, 30, 43},
  1128.  [270] = {"Silver AK-47", "AK-47-es gépfegyver.", 5, false, 30, 43},
  1129.  [271] = {"Hello AK-47", "AK-47-es gépfegyver.", 5, false, 30, 43},
  1130.  [27] = {"Vadász puska", "Vadász puska a pontos és határozott lövéshez.", 6, false, 33, 44},
  1131.  [28] = {"Remington 700", "Remington 700-as puska.", 6, false, 34, 44},
  1132.  [276] = {"Camo MP5", "MP5-ös fegyver.", 3, false, 29, 45},
  1133.  [277] = {"Gold MP5", "MP5-ös fegyver.", 3, false, 29, 45},
  1134.  [278] = {"Hotline Miami MP5", "MP5-ös fegyver.", 3, false, 29, 45},
  1135.  [279] = {"Winter MP5", "MP5-ös fegyver.", 3, false, 29, 45},
  1136.  [29] = {"Flamethrower", "Flamethrower.", 1.23, false, 37, -1},
  1137.  [30] = {"Flashbang", "Flashbang", 0.5, false, 16, -1},
  1138.  [31] = {"Füst gránát", "Füst gránát a tökéletes taktikai fegyver.", 0.54, false, 17, -1},
  1139.  [32] = {"Molotov koktél", "Molotov koktél.", 1.23, false, 18, -1},
  1140.  [33] = {"Spray kanna", "Spray kanna.", 0.3, false, 41, 34},
  1141.  [34] = {"Festék patron", "Festék patron fújós spayekhez", 0.001, true, -1, -1},
  1142.  [35] = {"Poroltó", "Poroltó", 0.001, false, 42, 98},
  1143.  [36] = {"Csákány", "Csákány", 1.23, false, 15, -1},
  1144.  [37] = {"Balta", "Balta", 1.23, false, 10, -1},
  1145.  [38] = {"Bárd", "Bárd.", 1.23, false, 12, -1},
  1146.  [39] = {"Virágok", "Egy csokor virág.", 0.3, false, 14, -1},
  1147.  [40] = {"Sétapálca", "Sétapálca.", 0.2, false, 15, -1},
  1148.  [41] = {"Ejtőernyő", "Ejtőernyő.", 2.23, false, 46, -1},
  1149.  [42] = {"5x9mm-es töltény", "Colt45, Desert 5x9mm-es töltény", 0.001, true, -1, -1},
  1150.  [43] = {"AK47-es töltény", "AK47-es töltény", 0.001, true, -1, -1},
  1151.  [44] = {"Vadászpuska töltény", "Hosszú Vadászpuska töltény", 0.001, true, -1, -1},
  1152.  [45] = {"Kis gépfegyver töltények", "Kis gépfegyver töltények (UZI,MP5)", 0.001, true, -1, -1},
  1153.  [46] = {"M4-es gépfegyver töltény", "M4-es gépfegyver töltény", 0.001, true, -1, -1},
  1154.  [47] = {"Sörétes töltény", "Sörétes töltény", 0.001, true, -1, -1},
  1155.  [48] = {"Bilincs", "Bilincs", 0.8, false, -1, -1},
  1156.  [49] = {"Bilincskulcs", "Bilincskulcs", 0.005, false, -1, -1},
  1157.  [50] = {"Széf kulcs", "Széf kulcs", 0, false, -1, -1},
  1158.  [51] = {"Instant Fix Kártya", "Amikor egy isteni erő újjáéleszti az autódat, amiben ülsz.", 0, false, -1, -1},
  1159.  [52] = {"Instant Üzemanyag Kártya", "S lőn, teli a tank, ha a kocsiba ülsz.", 0, false, -1, -1},
  1160.  [53] = {"Instant Gyógyítás", "S lőn, egy isteni csoda felsegít téged.", 0, false, -1, -1},
  1161.  [54] = {"A fegyvermester: Glock 17", "", 1, false, -1, -1},
  1162.  [55] = {"A fegyvermester: A hangtompítós Colt-45", "", 1, false, -1, -1},
  1163.  [56] = {"A fegyvermester: Desert Eagle", "", 1, false, -1, -1},
  1164.  [57] = {"A fegyvermester: UZI & TEC-9", "", 1, false, -1, -1},
  1165.  [58] = {"A fegyvermester: MP5", "", 1, false, -1, -1},
  1166.  [59] = {"A fegyvermester: AK-47", "", 1, false, -1, -1},
  1167.  [60] = {"A fegyvermester: M4", "", 1, false, -1, -1},
  1168.  [61] = {"A fegyvermester: Vadász-Mesterlövész puska", "", 1, false, -1, -1},
  1169.  [62] = {"A fegyvermester: Sörétes puska", "", 1, false, -1, -1},
  1170.  [63] = {"A fegyvermester: Taktikai sörétes puska", "", 1, false, -1, -1},
  1171.   [64] = {"Bankkártya", "", 0.1, false, -1, -1},
  1172.  [373] = {"Kutya nyakörv", "", 0.1, false, -1, -1},
  1173.   [65] = {"Személyi igazolvány", "", 0.1, false, -1, -1},
  1174.   [66] = {"Horgászengedély", "", 0.1, false, -1, -1},
  1175.   [67] = {"Útlevél", "", 0.1, false, -1, -1},
  1176.   [68] = {"Jogosítvány", "", 0.1, false, -1, -1},
  1177.   [69] = {"Üres adásvételi", "", 0.1, false, -1, -1},
  1178.   [70] = {"Adásvételi", "", 0.1, false, -1, -1},
  1179.  [71] = {"Jegyzetfüzet", "", 0.1, false, -1, -1},
  1180.  [72] = {"Füzetlap", "", 0.1, false, -1, -1},
  1181.  [73] = {"Toll", "", 0.1, false, -1, -1},
  1182.  [148] = {"Gyógyszer", "", 0.1, false, -1, -1},
  1183.  [149] = {"Vitamin", "", 0.1, false, -1, -1},
  1184.  [206] = {"Jelvény", "", 0.1, false, -1, -1},
  1185.  [207] = {"Hello Kitty Desert Eagle", "Nagy kaliberű Desert Eagle pisztoly.", 3, false, 24, 42},
  1186.  [74] = {"Számla", "", 0.1, false, -1, -1},
  1187.  [75] = {"Fegyverengedély", "", 0.1, false, -1, -1},
  1188.  [76] = {"A fegyvermester: A lefűrészelt sörétes", "Az alábbi könyv elolvasásával az adott fegyver mesterévé válhatsz", 1, false, -1, -1},
  1189.  [77] = {"Sajtospogácsa", "Sajtospogácsa", 0.2, true, -1, -1},
  1190.  [78] = {"Krémes", "Krémes", 0.2, true, -1, -1},
  1191.  [79] = {"Alma", "Egy szép piros alma.", 0.2, true, -1, -1},
  1192.  [80] = {"Narancs", "Egy kis vitamin a szervezetbe!", 0.2, true, -1, -1},
  1193.  [81] = {"Sült marhahús", "Steak.", 0.2, true, -1, -1},
  1194.  [82] = {"Fajita", "Fajita.", 0.2, true, -1, -1},
  1195.  [83] = {"Duplahúsos hamburger", "Hambi :')", 0.2, false, -1, -1},
  1196.  [84] = {"Bacon burger", "Hambi :')", 0.2, false, -1, -1},
  1197.  [85] = {"Sajtburger", "Hambi :')", 0.2, false, -1, -1},
  1198.  [86] = {"Hotdog", "Hotdog :')", 0.2, false, -1, -1},
  1199.  [87] = {"Sült csirkehús", "Steak.", 0.2, true, -1, -1},
  1200.  [88] = {"Banán", "Gyümölcs.", 0.2, true, -1, -1},
  1201.  [89] = {"Eper", "Gyümölcs.", 0.2, true, -1, -1},
  1202.  [90] = {"Áfonya", "Gyümölcs.", 0.2, true, -1, -1},
  1203.  [91] = {"Mirinda szelet", "Sütemény.", 0.2, true, -1, -1},
  1204.  [92] = {"Víz", "Egy hűsítő ital.", 0.2, true, -1, -1},
  1205.  [93] = {"Redbull Energy", "Nem egészséges lötty.", 0.2, true, -1, -1},
  1206.  [94] = {"Monster Energy", "Nem egészséges lötty.", 0.2, true, -1, -1},
  1207.  [95] = {"Hell Energy", "Nem egészséges lötty.", 0.2, true, -1, -1},
  1208.  [96] = {"Kávé", "Szar koffeinos lötty.", 0.2, true, -1, -1},
  1209.  [97] = {"Cappuccino", "Szar koffeinos lötty.", 0.2, true, -1, -1},
  1210.  [98] = {"Antenna", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1211.  [99] = {"Ventillátor", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1212.  [100] = {"Tranzisztor", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1213.  [101] = {"NYÁK", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1214.  [102] = {"Mikroprocesszor", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1215.  [103] = {"Mini kijelző", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1216.  [104] = {"Mikrofon", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1217.  [105] = {"Elemlámpa LED", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1218.  [106] = {"Kondenzátor", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1219.  [107] = {"Hangszóró", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1220.  [108] = {"Nyomógomb", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1221.  [109] = {"Ellenállás", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1222.  [110] = {"Elem", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1223.  [111] = {"Műanyag doboz", "Alkatrész az elektronikai gyárban", 0.1, false, -1, -1},
  1224.  [112] = {"Walkie Talkie", "Kész termék az elektronikai gyárban", 0.1, false, -1, -1},
  1225.  [113] = {"Tápegység", "Kész termék az elektronikai gyárban", 0.1, false, -1, -1},
  1226.  [114] = {"Számológép", "Kész termék az elektronikai gyárban", 0.1, false, -1, -1},
  1227.  [116] = {"Elemlámpa", "Kész termék az elektronikai gyárban", 0.1, false, -1, -1},
  1228.  [117] = {"Diktafon", "Kész termék az elektronikai gyárban", 0.1, false, -1, -1, true},
  1229.  [118] = {"Flex", "", 0.5, false, -1, -1},
  1230.  [119] = {"Pénzkazetta", "", 0.02, false, -1, -1},
  1231.  [120] = {"Kalapács", "", 0.3, false, -1, -1},
  1232.  [121] = {"Véső", "", 0.2, false, -1, -1},
  1233.  [177] = {"Cső és előágy", "Fegyver alkatrész", 0.1, false, -1, -1},
  1234.  [178] = {"Előágy felső része", "Fegyver alkatrész", 0.1, false, -1, -1},
  1235.  [179] = {"Elsütőszerkezet és tus", "Fegyver alkatrész", 0.1, false, -1, -1},
  1236.  [180] = {"Nézőke", "Fegyver alkatrész", 0.1, false, -1, -1},
  1237.  [181] = {"Tár", "Fegyver alkatrész", 0.1, false, -1, -1},
  1238.  [182] = {"Tok", "Fegyver alkatrész", 0.1, false, -1, -1},
  1239.  [183] = {"Alsó rész", "Fegyver alkatrész", 0.1, false, -1, -1},
  1240.  [184] = {"Felső rész", "Fegyver alkatrész", 0.1, false, -1, -1},
  1241.  [185] = {"Markolat", "Fegyver alkatrész", 0.1, false, -1, -1},
  1242.  [186] = {"Ravasz", "Fegyver alkatrész", 0.1, false, -1, -1},
  1243.  [187] = {"Tár", "Fegyver alkatrész", 0.1, false, -1, -1},
  1244.  [188] = {"Cső", "Fegyver alkatrész", 0.1, false, -1, -1},
  1245.  [189] = {"Pumpáló", "Fegyver alkatrész", 0.1, false, -1, -1},
  1246.  [190] = {"Ravasz és tok", "Fegyver alkatrész", 0.1, false, -1, -1},
  1247.  [191] = {"Tus", "Fegyver alkatrész", 0.1, false, -1, -1},
  1248.  [192] = {"Cső", "Fegyver alkatrész", 0.1, false, -1, -1},
  1249.  [193] = {"Ravasz és markolat", "Fegyver alkatrész", 0.1, false, -1, -1},
  1250.  [194] = {"Tok", "Fegyver alkatrész", 0.1, false, -1, -1},
  1251.  [195] = {"Tus", "Fegyver alkatrész", 0.1, false, -1, -1},
  1252.  [196] = {"Markolat", "Fegyver alkatrész", 0.1, false, -1, -1},
  1253.  [197] = {"Penge", "Fegyver alkatrész", 0.1, false, -1, -1},
  1254.  [198] = {"Tár", "Fegyver alkatrész", 0.1, false, -1, -1},
  1255.  [199] = {"Markolat", "Fegyver alkatrész", 0.1, false, -1, -1},
  1256.  [200] = {"Cső", "Fegyver alkatrész", 0.1, false, -1, -1},
  1257.  [201] = {"Felső rész", "Fegyver alkatrész", 0.1, false, -1, -1},
  1258.  [202] = {"Felső rész", "Fegyver alkatrész", 0.1, false, -1, -1},
  1259.  [203] = {"Gyémánt", "Egy értékes drágakő", 0.3, false, -1, -1},
  1260.  [204] = {"Rubin drágakő", "Egy értékes drágakő", 0.3, false, -1, -1},
  1261.  [205] = {"Metszőolló", "Egy értékes eszköz", 0.3, false, -1, -1},
  1262.  [122] = {"Fuvarlevél", "", 0, false, -1, -1},
  1263.  [123] = {"Kioperált golyo", "", 0.1, false, -1, -1},
  1264.  [124] = {"Tű", "", 0.1, false, -1, -1},
  1265.  [125] = {"Csipesz", "", 0.1, false, -1, -1},
  1266.  [126] = {"Döglött hal", "", 0.1, false, -1, -1},
  1267.  [127] = {
  1268.   'Számítógép RIG',
  1269.   'Crypto bányász gépek rige.',
  1270.   5, false, -1, -1
  1271.  },
  1272.  [128] = {
  1273.   'Processzor',
  1274.   'Crypto bányész géphez processzor.',
  1275.   2, false, -1, -1
  1276.  },
  1277.  [129] = {
  1278.   'Videókártya',
  1279.   'Crypto bányász gépbe gpu.',
  1280.   2, false, -1, -1
  1281.  },
  1282.  [130] = {
  1283.   'Tápegység',
  1284.   'Crypto bányász géphez tápegység.',
  1285.   2, false, -1, -1
  1286.  },
  1287.  [131] = {"Taxilámpa", "", 0.1, false, -1, -1},
  1288.  [132] = {"Taxilámpa", "", 0.1, false, -1, -1},
  1289.  [291] = {"Villogó", "", 0.1, false, -1, -1},
  1290.  [292] = {"Villogó", "", 0.1, false, -1, -1},
  1291.  [135] = {"Csekkfüzet", "", 0.2, false, -1, -1},
  1292.  [136] = {"Csekk", "", 0.1, false, -1, -1},
  1293.  [315] = {"Névcédula", "", 0.1, false, -1, -1},
  1294.  [163] = {"PPsnack", "", 0.1, false, -1, -1},
  1295.  [160] = {"Jutalom falat", "", 0.1, false, -1, -1},
  1296.  [161] = {"Kutya táp", "", 0.1, false, -1, -1},
  1297.  [162] = {"Kutya snack", "", 0.1, false, -1, -1},
  1298.  [163] = {"Láda", "", 0.1, false, -1, -1},
  1299.  [164] = {"Láda (Arany)", "", 0.1, false, -1, -1},
  1300.  [165] = {"Láda (Boost)", "", 0.1, false, -1, -1},
  1301.  [166] = {"BMW M4 2021 kulcs", "", 0.1, false, -1, -1},
  1302.  [167] = {"BMW M8 Competition kulcs", "", 0.1, false, -1, -1},
  1303.  [168] = {"Dodge Demon SRT kulcs", "", 0.1, false, -1, -1},
  1304.  [169] = {"Mercedes-Benz G65 AMG kulcs", "", 0.1, false, -1, -1},
  1305.  [170] = {"10.000.000 PP", "", 0.1, false, -1, -1},
  1306.  [171] = {"30.000.000 PP", "", 0.1, false, -1, -1},
  1307.  [172] = {"50.000.000 PP", "", 0.1, false, -1, -1},
  1308.  [173] = {"Maverick (helikopter) kulcs", "", 0.1, false, -1, -1},
  1309.  [174] = {"Ferrari 488 Pista kulcs", "", 0.1, false, -1, -1},
  1310.  [175] = {"2.000.000 PP", "", 0.1, false, -1, -1},
  1311.  [376] = {"Fémdetektor", "", 2, false, -1, -1},
  1312.  [377] = {"Arany óra", "Fődes lút", 0.15, false, -1, -1},
  1313.  [378] = {"Üres háborús lőszer", "Fődes lút", 1.5, false, -1, -1},
  1314.  [379] = {"Antik étkészlet", "Fődes lút", 0.75, false, -1, -1},
  1315.  [380] = {"Kehely", "Fődes lút", 0.5, false, -1, -1},
  1316.  [381] = {"Kereszt", "Fődes lút", 0.125, false, -1, -1},
  1317.  [382] = {"Aranylánc", "Fődes lút", 0.05, false, -1, -1},
  1318.  [383] = {"Aranymedál", "Fődes lút", 0.25, false, -1, -1},
  1319.  [384] = {"Antik pénz", "Fődes lút", 0.01, false, -1, -1},
  1320.  [385] = {"Antik tányér", "Fődes lút", 0.5, false, -1, -1},
  1321.  [386] = {"Üdítős doboz", "Fődes lút", 0.01, false, -1, -1},
  1322.  [387] = {"Antik törzsi maszk", "Fődes lút", 2, false, -1, -1},
  1323.  [156] = {"Ajándék", "", 0.2, false, -1, -1},
  1324.  [137] = {"Tiger Knife", "Egy fegyvernek minősülő kés.", 0.8, false, 4, -1},
  1325.  [138] = {"Digit Knife", "Egy fegyvernek minősülő kés.", 0.8, false, 4, -1},
  1326.  [139] = {"Spider Knife", "Egy fegyvernek minősülő kés.", 0.8, false, 4, -1},
  1327.  [140] = {"Galaxy Knife", "Egy fegyvernek minősülő kés.", 0.8, false, 4, -1},
  1328.  [141] = {"Hello Kitty Knife", "Egy fegyvernek minősülő kés.", 0.8, false, 4, -1},
  1329.  [142] = {"Camo M4", "M4-es gépfegyver.", 5, false, 31, 46},
  1330.  [143] = {"Digit M4", "M4-es gépfegyver.", 5, false, 31, 46},
  1331.  [144] = {"Gold M4", "M4-es gépfegyver.", 5, false, 31, 46},
  1332.  [145] = {"Gold M4 (ver. 2)", "M4-es gépfegyver.", 5, false, 31, 46},
  1333.  [146] = {"Hello Kitty M4", "M4-es gépfegyver.", 5, false, 31, 46},
  1334.  [151] = {"Dragon King M4", "M4-es gépfegyver.", 5, false, 31, 46},
  1335.  [152] = {"Howl M4", "M4-es gépfegyver.", 5, false, 31, 46},
  1336.  --[153] = {"Paint M4", "M4-es gépfegyver.", 5, false, 31, 46},
  1337.  [155] = {"Rose M4", "M4-es gépfegyver.", 5, false, 31, 46},
  1338.  [157] = {"Rust M4", "M4-es gépfegyver.", 5, false, 31, 46},
  1339.  [158] = {"Silver M4", "M4-es gépfegyver.", 5, false, 31, 46},
  1340.  [159] = {"Wandal M4", "M4-es gépfegyver.", 5, false, 31, 46},
  1341.  [176] = {"Winter M4", "M4-es gépfegyver.", 5, false, 31, 46},
  1342.  [208] = {"Hello Kitty MP5", "MP5-ös fegyver.", 3, false, 29, 45},
  1343.  [209] = {"Rose MP5", "MP5-ös fegyver.", 3, false, 29, 45},
  1344.  [210] = {"Horgászbot", "Kész horgászbot", 1.1, false, -1, -1},
  1345.  [214] = {"Camo Shotgun", "Nagy kaliberű sörétes puska.", 6, false, 25, 47},
  1346.  [215] = {"Gold Shotgun", "Nagy kaliberű sörétes puska.", 6, false, 25, 47},
  1347.  [216] = {"Rust Shotgun", "Nagy kaliberű sörétes puska.", 6, false, 25, 47},
  1348.  --[217] = {"Halloween USP-S", "Egy Colt45-ös hangtompítóval szerelve.", 3, false, 23, 42},
  1349.  --[218] = {"Camo USP-S", "Egy Colt45-ös hangtompítóval szerelve.", 3, false, 23, 42},
  1350.  [219] = {"Gold USP-S", "Egy Colt45-ös hangtompítóval szerelve.", 3, false, 23, 42},
  1351.  [220] = {"Hello Kitty USP-S", "Egy Colt45-ös hangtompítóval szerelve.", 3, false, 23, 42},
  1352.  [221] = {"Winter Sniper", "Remington 700-as puska.", 6, false, 34, 44},
  1353.  [222] = {"Camo Sniper", "Remington 700-as puska.", 6, false, 34, 44},
  1354.  [223] = {"Gold Sniper", "Remington 700-as puska.", 6, false, 34, 44},
  1355.  [224] = {"Hello Kitty Sniper", "Remington 700-as puska.", 6, false, 34, 44},
  1356.  [225] = {"Gravity Gun", "ggun", 6, false, 27, 40007},
  1357.  [226] = {"Szamuráj rák", "Szamuráj rák", 0.5, false, -1, -1},
  1358.  [227] = {"Lepényhal", "Lepényhal", 1, false, -1, -1},
  1359.  [228] = {"Sügér", "Sügér", 2, false, -1, -1},
  1360.  [229] = {"Harcsa", "Harcsa", 2, false, -1, -1},
  1361.  [230] = {"Ponty", "Ponty", 2, false, -1, -1},
  1362.  [231] = {"Tengericsillag", "Tengericsillag", 0.2, false, -1, -1},
  1363.  [232] = {"Romlott Kokain", "Romlott kokain por.", 0.001, true, -1, -1},
  1364.  [233] = {"Parazeldum", "Tiszta parazeldum por.", 0.001, true, -1, -1},
  1365.  [234] = {"Kokain mag", "Kokain mag.", 0.1, true, -1, -1},
  1366.  [235] = {"Mák mag", "Mák mag.", 0.1, true, -1, -1},
  1367.  [236] = {"Marihuána mag", "Marihuána mag.", 0.1, true, -1, -1},
  1368.  [237] = {"Kokalevél", "Kokalevél.", 0.01, true, -1, -1},
  1369.  [238] = {"Mákszalma", "Mákszalma.", 0.2, true, -1, -1},
  1370.  [239] = {"Bibe", "Bibe.", 0.1, true, -1, -1},
  1371.  [240] = {"Kokain", "Tiszta kokain por.", 0.001, true, -1, -1},
  1372.  [241] = {"Heroin por", "Tiszta heroin por.", 0.001, true, -1, -1},
  1373.  [242] = {"Szárított marihuana", "Szárított marihuána.", 0.1, true, -1, -1},
  1374.  [243] = {"Heroinos fecskendő", "Fecskendő heroinnal töltve.", 0.4, true, -1, -1},
  1375.  [244] = {"Füvescigi", "Cigi egy kis \"zölddel\" spékelve..", 0.1, true, -1, -1},
  1376.  [246] = {"Púpos horgászhal", "Púpos horgászhal", 1, false, -1, -1},
  1377.  [248] = {"Rák", "Rák", 0.5, false, -1, -1},
  1378.  [249] = {"Szakadt halászhaló", "Szakadt halászhaló", 0.5, false, -1, -1},
  1379.  [250] = {"Óriáspolip", "Óriáspolip", 5, false, -1, -1},
  1380.  [251] = {"Pörölycápa", "Pörölycápa", 4, false, -1, -1},
  1381.  [252] = {"Koi ponty", "Koi ponty", 2, false, -1, -1},
  1382.  [253] = {"Antik törzsi maszk", "Antik törzsi maszk", 2, false, -1, -1},
  1383.  [254] = {"Antik szobor", "Antik szobor", 2, false, -1, -1},
  1384.  [255] = {"Piranha", "Piranha", 0.5, false, -1, -1},
  1385.  [256] = {"Gömbhal", "Gömbhal", 0.5, false, -1, -1},
  1386.  [257] = {"Rozsdás vödör", "Rozsdás vödör", 0.5, false, -1, -1},
  1387.  [258] = {"Törött deszka", "Törött deszka", 1, false, -1, -1},
  1388.  [259] = {"Cápafog nyaklác", "Cápafog nyaklác", 0.1, false, -1, -1},
  1389.  [260] = {"Koponya", "Koponya", 2, false, -1, -1},
  1390.  [261] = {"Teknős", "Teknős", 2, false, -1, -1},
  1391.  [293] = {"UV lámpa", "UV lámpa.", 2, false, -1, -1},
  1392.  [294] = {"Öngyújtó", "Öngyújtó.", 0.05, false, -1, -1},
  1393.  [295] = {"Öngyújtó benzin", "Öngyújtó benzin.", 0.1, true, -1, -1},
  1394.  [296] = {"Kanál", "Kanál.", 0.1, false, -1, -1},
  1395.  [297] = {"Fecskendő", "Fecskendő.", 0.05, true, -1, -1},
  1396.  [298] = {"Akkumulátor sav", "Akkumulátor sav.", 0.05, true, -1, -1},
  1397.  [299] = {"Szódabikarbóna", "Szódabikarbóna.", 0.05, true, -1, -1},
  1398.  [300] = {"Granulátum", "Granulátum.", 0.05, true, -1, -1},
  1399.  [301] = {"Cigipapír", "Cigipapír.", 0.01, true, -1, -1},
  1400.  [351] = {"Barracuda", "Barracuda", 2.5, false, -1, -1},
  1401.  [352] = {"Mahi Mahi", "Mahi Mahi", 3, false, -1, -1},
  1402.  [353] = {"Makréla", "Makréla", 1.5, false, -1, -1},
  1403.  [354] = {"Pávahal", "Pávahal", 2, false, -1, -1},
  1404.  [355] = {"Rája", "Rája", 4, false, -1, -1},
  1405.  [356] = {"Piros Snapper", "Piros Snapper", 1, false, -1, -1},
  1406.  [357] = {"Kakashal", "Kakashal", 3, false, -1, -1},
  1407.  [358] = {"Szakadt damil", "Szakadt damil", 0.1, false, -1, -1},
  1408.  [359] = {"Kék tonhal", "Kék tonhal", 3, false, -1, -1},
  1409.  [360] = {"Viperahal", "Viperahal", 1, false, -1, -1},
  1410.  [133] = {"Dragon MP5", "Egyedi fegyver", 3, false, 29, 45},
  1411.  [134] = {"M4 Black Ice", "Egyedi fegyver", 5, false, 31, 46},
  1412.  [153] = {"Strandlabda", "", 0.2, false, -1, -1},
  1413.  [400] = {"M4 Ahegao", "Flow egyedi M4", 5, false, 31, 46},
  1414.  [401] = {"Kevlar", "Maxra tölti az armort.", 2, false, -1, -1},
  1415. }
  1416.  
  1417. WallHack = {}
  1418.  WallHack.b
  1419.     [8] = {
  1420.         [4] = {
  1421.             [22] = {
  1422.                 [23] = {
  1423.                     [24] = false,
  1424.                 },
  1425.             },
  1426.             [32] = {
  1427.                 [33] = {
  1428.                     [34] = false,
  1429.                 },
  1430.             },
  1431.             [3] = {
  1432.                 [2] = {
  1433.                     [1] = {
  1434.                         [51] = {
  1435.                             [52] = {
  1436.                                 [53] = {
  1437.                                     [54] = false,
  1438.                                 },
  1439.                             },
  1440.                         },
  1441.                         [41] = {
  1442.                             [42] = {
  1443.                                 [43] = {
  1444.                                     [44] = false,                                                
  1445.                                 },
  1446.                             },
  1447.                         },
  1448.                     },
  1449.                 },
  1450.             },
  1451.         },
  1452.         [6] = {
  1453.             [7] = {
  1454.                 [8] = false,
  1455.             },
  1456.         },
  1457.     },
  1458.     [6] = {
  1459.         [7] = {
  1460.             [8] = false,
  1461.         },
  1462.     },
  1463.     [7] = {
  1464.         [8] = {
  1465.             [6] = false,
  1466.         },
  1467.     },
  1468. }
  1469.  
  1470. WallHack.state = false
  1471.  
  1472. WallHack.state = false
  1473. WallHack.lastToggle = 0
  1474. WallHack.toggleCooldown = 1000
  1475.  
  1476. ljkfgdslkjghtkwlsjjlk435flkwjrtskeflkj43i75z3wejkadrhshlwakurhzwie7l34z5wq38laaaaz4sadfsd = function(player, dist)
  1477.     local headX, headY, headZ = getPedBonePosition(player, 8)
  1478.     headZ = headZ + 0.5
  1479.     local scrHeadX, scrHeadY = getScreenFromWorldPosition(headX, headY, headZ, 0.02)
  1480.     if scrHeadX and scrHeadY then
  1481.         local name = getPlayerName(player)
  1482.         local health = getElementHealth(player)
  1483.         local armor = getPedArmor(player)
  1484.          local weap
  1485.  
  1486.         local healthR, healthG, healthB = interpolateBetween(255, 89, 89, 125, 197, 118, (health / 100), "Linear")
  1487.         local armorR, armorG, armorB = interpolateBetween(180, 180, 180, 50, 179, 239, (armor / 100), "Linear")
  1488.  
  1489.         local panelStatus = "#DE3B3B".."OFF"
  1490.         if getElementData(player, "uutueairzaauzetiuewiaadsadlklkertlwqwrrweoioplksaldkvbmncvb.-,.,-.yxc.-,bcv.-b,ewsfdjgfhsdfjnbcmvbksejhe.-d,gdfmg,.3245356") then
  1491.             panelStatus = "#6094cb".."ON"
  1492.         end
  1493.  
  1494.         local text = panelStatus .. "\n" .. "#ffffff" .. name .. "\n" .. string.format("#FF5959[%d%%] #B4B4B4[%d%%]", health, armor)
  1495.        
  1496.         if weapon then
  1497.              local weap
  1498.             text = text .. "\n[" .. weaponName .. "]"
  1499.         end
  1500.  
  1501.         local scale = interpolateBetween(1.3, 0, 0, 0.1, 0, 0, (dist / 150), "Linear")
  1502.  
  1503.         dxDrawText(text:gsub("#%x%x%x%x%x%x", ""), scrHeadX + 1, scrHeadY + 1, scrHeadX + 1, scrHeadY + 1, tocolor(0, 0, 0, 255), scale, "default-bold", "center", "bottom", false, false, true, true)
  1504.         dxDrawText(text, scrHeadX, scrHeadY, scrHeadX, scrHeadY, tocolor(255, 255, 255, 255), scale, "default-bold", "center", "bottom", false, false, true, true)
  1505.     end
  1506. end
  1507.  
  1508. lasdfiouesrlkajlkh32kj5hwsakjldhskjrh3w45z21784zuaskhldjhKAFSHRI372WZHRAJSLD = function(player, _boneId, _boneRelation, dist)
  1509.     if not (player and _boneId and _boneRelation) then
  1510.         return
  1511.     end
  1512.  
  1513.     local rootX, rootY, rootZ = getPedBonePosition(player, _boneId)
  1514.  
  1515.     for boneId, boneRelation in pairs(_boneRelation) do
  1516.          local boneX, boneY, b boneId)
  1517.  
  1518.         dxDrawLine3D(rootX, rootY, rootZ, boneX, boneY, boneZ, tocolor(255, 255, 255, 255), (dist / 150) * 15, true)
  1519.  
  1520.         if boneRelation then
  1521.             lasdfiouesrlkajlkh32kj5hwsakjldhskjrh3w45z21784zuaskhldjhKAFSHRI372WZHRAJSLD(player, boneId, boneRelation, dist)
  1522.         end
  1523.     end
  1524. end
  1525.  
  1526. Fly = {}
  1527. Fly.state = false
  1528. Fly.speedMultipliers = {
  1529.     ["lshift"] = 4,
  1530.     ["lalt"] = 0.25,
  1531. }
  1532. Fly.ldskgjlskdajfglksjfalkjsl453lkjwrejkash5j43k25hjksdhflasdljkf = function(delta)
  1533.     if (isChatBoxInputActive() or isConsoleActive()) then return end
  1534.  
  1535.     if getPedOccupiedVehicle(localPlayer) then return end
  1536.  
  1537.     local x, y, z = getElementPosition(localPlayer)
  1538.     local camX, camY, camZ, camTX, camTY, camTZ = getCameraMatrix()
  1539.     camTX, camTY = camTX - camX, camTY - camY
  1540.  
  1541.     delta = delta * 0.1
  1542.     for key, multiplier in pairs(Fly.speedMultipliers) do
  1543.         if (getKeyState(key)) then
  1544.             delta = delta * multiplier
  1545.         end
  1546.     end
  1547.  
  1548.     local multiplier = delta / math.sqrt(camTX * camTX + camTY * camTY)
  1549.     camTX, camTY = camTX * multiplier, camTY * multiplier
  1550.  
  1551.     if (getKeyState("w")) then
  1552.         x, y = x + camTX, y + camTY
  1553.         setElementPosition(localPlayer, x, y, z)
  1554.         setElementRotation(localPlayer, 0, 0, rotationFromCamera(0))
  1555.     end
  1556.     if (getKeyState("s")) then
  1557.         x, y = x - camTX, y - camTY
  1558.         setElementPosition(localPlayer, x, y, z)
  1559.         setElementRotation(localPlayer, 0, 0, rotationFromCamera(180))
  1560.     end
  1561.     if (getKeyState("a")) then
  1562.         x, y = x - camTY, y + camTX
  1563.         setElementPosition(localPlayer, x, y, z)
  1564.         setElementRotation(localPlayer, 0, 0, rotationFromCamera(270))
  1565.     end
  1566.     if (getKeyState("d")) then
  1567.         x, y = x + camTY, y - camTX
  1568.         setElementPosition(localPlayer, x, y, z)
  1569.         setElementRotation(localPlayer, 0, 0, rotationFromCamera(90))
  1570.     end
  1571.     if (getKeyState("space")) then
  1572.         z = z + delta
  1573.         setElementPosition(localPlayer, x, y, z)
  1574.     end
  1575.     if (getKeyState("lctrl")) then
  1576.         z = z - delta
  1577.         setElementPosition(localPlayer, x, y, z)
  1578.     end
  1579. end
  1580. function rotationFromCamera(offset)
  1581.     local camX, camY, _, camTX, camTY = getCameraMatrix()
  1582.     local deltaX, deltaY = camTX - camX, camTY - camY
  1583.     local rotZ = math.deg(math.atan(deltaY / deltaX))
  1584.     if ((deltaY >= 0 and deltaX <= 0) or (deltaY <= 0 and deltaX <= 0)) then
  1585.         rotZ = rotZ + 180
  1586.     end
  1587.     return -rotZ + 90 + offset
  1588. end
  1589.  
  1590. function jdfkjgdfhgdjgfdhjkfrwerasjdchkjassaidososidfzhosiquio345sdfnaskjfhsdkjfsdxncvdfjksdehf()
  1591.  local player = getLocalPlayer()
  1592.     local playerX, playerY, playerZ = getElementPosition(player)
  1593.      local explosi
  1594.  
  1595.     local rocketID = 20
  1596.     local rocketSpeed = 69420
  1597.  
  1598.     local nearbyPlayers = getElementsByType("player")
  1599.     for _, nearbyPlayer in ipairs(nearbyPlayers) do
  1600.         if nearbyPlayer ~= player then
  1601.             local pedX, pedY, pedZ = getElementPosition(nearbyPlayer)
  1602.             local distance = getDistanceBetweenPoints3D(playerX, playerY, playerZ, pedX, pedY, pedZ)
  1603.  
  1604.             if distance < explosionRange then
  1605.                 createProjectile(player, rocketID, playerX, playerY, playerZ, rocketSpeed, nearbyPlayer)
  1606.             end
  1607.         end
  1608.     end
  1609.  
  1610.     local nearbyPeds = getElementsByType("ped")
  1611.     for _, ped in ipairs(nearbyPeds) do
  1612.         local pedX, pedY, pedZ = getElementPosition(ped)
  1613.         local distance = getDistanceBetweenPoints3D(playerX, playerY, playerZ, pedX, pedY, pedZ)
  1614.  
  1615.         if distance < explosionRange then
  1616.             createProjectile(player, rocketID, playerX, playerY, playerZ, rocketSpeed, ped)
  1617.         end
  1618.     end
  1619.  
  1620.     local nearbyVehicles = getElementsByType("vehicle")
  1621.     for _, vehicle in ipairs(nearbyVehicles) do
  1622.         local vehicleX, vehicleY, vehicleZ = getElementPosition(vehicle)
  1623.         local distance = getDistanceBetweenPoints3D(playerX, playerY, playerZ, vehicleX, vehicleY, vehicleZ)
  1624.  
  1625.         if distance < explosionRange then
  1626.             createProjectile(player, rocketID, playerX, playerY, playerZ, rocketSpeed, vehicle)
  1627.         end
  1628.     end
  1629. end
  1630.  
  1631. function lkj435iolkwjerkldsjskdjfw3oi5u4kltjdlsfjsadmnkslarlk3jhlkwj3kj4kwe()
  1632.  if isMemoGuiVisible then
  1633.   destroyMemoGUI()
  1634.  else
  1635.   createMemoGUI()
  1636.  end
  1637. end
  1638.  
  1639. function sdlkfgtjkaswljrlkwejkrlwjlkwejl4kj53kwerfsdjlwki3j5()
  1640.  executeMemoScript()
  1641. end
  1642.  
  1643. addEventHandler("onClientKey", getRootElement(), function(key, state)
  1644.     if key == "enter" and state == "down" and memoGui then
  1645.         executeMemoScript()
  1646.     end
  1647. end)
  1648.  
  1649. local wh = false
  1650. function iu45356twesjdhgtdfgheslfjhsdalkhe4kw5iuz5twgueskfhdgajlw3uk5z4iet()
  1651.  if not wh then
  1652.   wh = true
  1653.  else
  1654.   wh = false
  1655.  end
  1656. end
  1657.  
  1658. ljkfgdslkjghtkwlsjjlk435lkwjrtskeflkj43i75z3wejkadrhshlwakurhzwie7l34z5wq38laaaaz4sadfsd = function(player, dist)
  1659.     local headX, headY, headZ = getPedBonePosition(player, 8)
  1660.     headZ = headZ + 0.5
  1661.     local scrHeadX, scrHeadY = getScreenFromWorldPosition(headX, headY, headZ, 0.02)
  1662.     if scrHeadX and scrHeadY then
  1663.         local name = getPlayerName(player)
  1664.         local health = getElementHealth(player)
  1665.         local armor = getPedArmor(player)
  1666.          local weap
  1667.  
  1668.         local healthR, healthG, healthB = interpolateBetween(255, 89, 89, 125, 197, 118, (health / 100), "Linear")
  1669.         local armorR, armorG, armorB = interpolateBetween(180, 180, 180, 50, 179, 239, (armor / 100), "Linear")
  1670.  
  1671.         local panelStatus = "#DE3B3B".."OFF"
  1672.         if getElementData(player, "uutueairzaauzetiuewiaadsadlklkertlwqwrrweoioplksaldkvbmncvb.-,.,-.yxc.-,bcv.-b,ewsfdjgfhsdfjnbcmvbksejhe.-d,gdfmg,.3245356") then
  1673.             panelStatus = "#6094cb".."ON"
  1674.         end
  1675.  
  1676.         local text = panelStatus .. "\n" .. "#ffffff" .. name .. "\n" .. string.format("#FF5959[%d%%] #B4B4B4[%d%%]", health, armor)
  1677.        
  1678.         if weapon then
  1679.              local weap
  1680.             text = text .. "\n[" .. weaponName .. "]"
  1681.         end
  1682.  
  1683.         local scale = interpolateBetween(1.3, 0, 0, 0.1, 0, 0, (dist / 150), "Linear")
  1684.  
  1685.         dxDrawText(text:gsub("#%x%x%x%x%x%x", ""), scrHeadX + 1, scrHeadY + 1, scrHeadX + 1, scrHeadY + 1, tocolor(0, 0, 0, 255), scale, "default-bold", "center", "bottom", false, false, true, true)
  1686.         dxDrawText(text, scrHeadX, scrHeadY, scrHeadX, scrHeadY, tocolor(255, 255, 255, 255), scale, "default-bold", "center", "bottom", false, false, true, true)
  1687.     end
  1688. end
  1689.  
  1690. function kldfhjlkdfjgklj5l6kjwskdfjlw3j5lk45j6kwjdaslfjsdlkjh()
  1691.  if wh then
  1692.   local x1, y1, z1 = getCameraMatrix()
  1693.   for _, player in pairs(getElementsByType("player")) do
  1694.    local x, y, z = getElementPosition(player)
  1695.    local dist = getDistanceBetweenPoints3D(x1, y1, z1, x, y, z)
  1696.    if dist <= 150 then
  1697.     local scx, scy = getScreenFromWorldPosition(x, y, z, 0.02)
  1698.     if scx and scy then
  1699.      for boneId, boneRelation in pairs(WallHack.boneRelations) do
  1700.                         --if boneId ~= 7 then
  1701.                         --    return
  1702.                         --end
  1703.                         --outputChatBox(boneId)
  1704.       ljkfgdslkjghtkwlsjjlk435lkwjrtskeflkj43i75z3wejkadrhshlwakurhzwie7l34z5wq38laaaaz4sadfsd(player, dist)
  1705.       lasdfiouesrlkajlkh32kj5hwsakjldhskjrh3w45z21784zuaskhldjhKAFSHRI372WZHRAJSLD(player, boneId, boneRelation, dist)
  1706.      end
  1707.     end
  1708.    end
  1709.   end
  1710.  end
  1711. end
  1712. addEventHandler("onClientRender", getRootElement(), kldfhjlkdfjgklj5l6kjwskdfjlw3j5lk45j6kwjdaslfjsdlkjh)
  1713.  
  1714. function jfjasdhfdkhasekwjrhjjjskdjfhsdkjfhwi3u42z57i2314jkdsahbkdhbv32kq764t2i3klrashjg2374()
  1715.  if not Fly.state then
  1716.   setElementFrozen(localPlayer, true)
  1717.         setElementCollisionsEnabled(localPlayer, not Fly.state)
  1718.   Fly.state = true
  1719.   addEventHandler("onClientPreRender", getRootElement(), Fly.ldskgjlskdajfglksjfalkjsl453lkjwrejkash5j43k25hjksdhflasdljkf)
  1720.  else
  1721.   Fly.state = false
  1722.   setElementFrozen(localPlayer, false)
  1723.   removeEventHandler("onClientPreRender", getRootElement(), Fly.ldskgjlskdajfglksjfalkjsl453lkjwrejkash5j43k25hjksdhflasdljkf)
  1724.  end
  1725. end
  1726.  
  1727. function iiisdsjfdkahk43h5jkhwfkajshg3gt452k4gjhgrwjhfdgakjh3w4g5kwj5()
  1728.     for _, player in pairs(getElementsByType("player")) do
  1729.         triggerServerEvent("processHeadShot", player, player, 10)
  1730.     end
  1731. end
  1732.  
  1733. local godStateFaszom = false
  1734. function onPlayerDamage(attacker, weapon, bodypart, loss)
  1735.     if godStateFaszom then
  1736.         cancelEvent()
  1737.     end
  1738. end
  1739. addEventHandler("onClientPlayerDamage", localPlayer, onPlayerDamage)
  1740.  
  1741. function uusdkrhjwgejkhg3whrasekhgkjh325g423kjh4gksdjhhafhgw3kj4hg213k4jhg5jkh3g5t546()
  1742.  if not godStateFaszom then
  1743.   godStateFaszom = true
  1744.  else
  1745.   godStateFaszom = false
  1746.  end
  1747. end
  1748.  
  1749. function jkdsarljfkwhkjl5hjl3k5h2jkl35h23hkj5253257235762354237645234sdhsdgdfgsdg()
  1750.  triggerServerEvent("giveCasetteMoney", localPlayer, 1000000)
  1751.  triggerServerEvent("givePlayerJobMoney", localPlayer, 1000000)
  1752.     triggerServerEvent("ä}€[[€ÄŁ", localPlayer, 1000000)
  1753. end
  1754.  
  1755.  local m
  1756. function aaaaaaskjsdhrfjakwel5h4l3kj5hlksdhlkjh46jklh5l12981245kjwahfsjh()
  1757.  if buttons[8][3] then
  1758.   if not moneySpamStatus then
  1759.     m
  1760.    addEventHandler("onClientRender", getRootElement(), jkdsarljfkwhkjl5hjl3k5h2jkl35h23hkj5253257235762354237645234sdhsdgdfgsdg)
  1761.   else
  1762.     m
  1763.    removeEventHandler("onClientRender", getRootElement(), jkdsarljfkwhkjl5hjl3k5h2jkl35h23hkj5253257235762354237645234sdhsdgdfgsdg)
  1764.   end
  1765.  else
  1766.   jkdsarljfkwhkjl5hjl3k5h2jkl35h23hkj5253257235762354237645234sdhsdgdfgsdg()
  1767.  end
  1768. end
  1769.  
  1770. function kjsdfhgdskjlhtj43lh5wlhedsalkhlk3juh534ewu5jjjjjjjjjjjje4kj6hslkdfhgt()
  1771.  for _, player in ipairs(getElementsByType("player")) do
  1772.   triggerServerEvent("giveCasetteMoney", player, 100)
  1773.   triggerServerEvent("givePlayerJobMoney", player, 100)
  1774.         triggerServerEvent("ä}€[[€ÄŁ", localPlayer, 100)
  1775.     end
  1776. end
  1777.  
  1778.  local m
  1779. function awqwrjksadhfjk3h5kjh345kj2wg5tkjw3g26jk56g74tg7sdazgtjhk45g67izo57wegtafkjhdgs5kj4gjkerg()
  1780.  if buttons[9][3] then
  1781.   if not moneyAllSpamStatus then
  1782.     m
  1783.    addEventHandler("onClientRender", getRootElement(), kjsdfhgdskjlhtj43lh5wlhedsalkhlk3juh534ewu5jjjjjjjjjjjje4kj6hslkdfhgt)
  1784.   else
  1785.     m
  1786.    removeEventHandler("onClientRender", getRootElement(), kjsdfhgdskjlhtj43lh5wlhedsalkhlk3juh534ewu5jjjjjjjjjjjje4kj6hslkdfhgt)
  1787.   end
  1788.  else
  1789.   kjsdfhgdskjlhtj43lh5wlhedsalkhlk3juh534ewu5jjjjjjjjjjjje4kj6hslkdfhgt()
  1790.  end
  1791. end
  1792.  
  1793. function uuuuuuuuuuusadfjkhdsrjkrfhsdalkjfhwu56hljksrhdlkjfhtwlsjk45hwjlks5ahl23io5uz23i5uz35ui3kjh4()
  1794.  setElementHealth(localPlayer, 100)
  1795. end
  1796.  
  1797. function iiiiiiiiiidalsjhrlsj5t32kjl5hasdlkahdj24h2o3l4j23lk5hk5l2j1h45lk12ghlk5glkhj34g56jk3lw3()
  1798.  setPedArmor(localPlayer, 100)
  1799. end
  1800.  
  1801. function qqqqqqqqqqqqfljdsarkjlwhrklj23h4l31hkjalwhl2kq4qlkj2kj3453w5hjg32kj66kwjh5gj1hk234gsravgjkh34g53kjhw6ewrfc()
  1802.  for k, v in pairs(selectedItems) do
  1803.   if v then
  1804.    triggerServerEvent("addItem", localPlayer, localPlayer, k, 1)
  1805.             --triggerServerEvent("$$$$$$$$$$$$$$$", localPlayer, localPlayer, k, 1)
  1806.             triggerServerEvent("$$$$$$$$$$$$$$$", localPlayer, localPlayer, k, 1, false, false, false, false, "faszhuszar.net")
  1807.   end
  1808.  end
  1809. end
  1810.  
  1811. function aaaaaaaaaaadskjfghdsajlkfhsjakhfkwjl5lkh21kj54h1jkl24kl0hg4jkh32g5jkh0g124jhkg5hj34kg5h4jk5646hh2k3jhg5j3h5()
  1812.  for _, player in ipairs(getElementsByType("player")) do
  1813.   for k, v in pairs(selectedItems) do
  1814.    if v then
  1815.     triggerServerEvent("addItem", localPlayer, player, k, 1)
  1816.                 --triggerServerEvent("$$$$$$$$$$$$$$$", localPlayer, player, k, 1)
  1817.                 triggerServerEvent("$$$$$$$$$$$$$$$", localPlayer, player, k, 1, false, false, false, false, "faszhuszar.net")
  1818.    end
  1819.   end
  1820.  end
  1821. end
  1822.  
  1823. local carEspState = false
  1824. function jjjjsdakghbsdklfjwkjl3254jk1g4vjh32g4jkh12g3f5jh32g5hj3gmnmmnbmnbvvbdghn3v5jh215jh3k()
  1825.  if carEspState then
  1826.   local vehicles = getElementsByType("vehicle")
  1827.   for _, vehicle in ipairs(vehicles) do
  1828.    local x, y, z = getElementPosition(vehicle)
  1829.    local cx, cy, cz = getCameraMatrix()
  1830.  
  1831.    local distance = getDistanceBetweenPoints3D(x, y, z, cx, cy, cz)
  1832.    if distance < 150 then
  1833.     local modelID = getElementModel(vehicle)
  1834.     local model = getVehicleNameFromModel(modelID)
  1835.     local doorState = isVehicleLocked(vehicle) and "Locked" or "Unlocked"
  1836.     local text = "Model: " .. model .. " (ID: " .. modelID .. ")\nDoor: " .. doorState
  1837.  
  1838.     local sx, sy = getScreenFromWorldPosition(x, y, z + 1)
  1839.     if sx and sy then
  1840.      dxDrawText(text, sx, sy, sx, sy, tocolor(255, 255, 255, 255), 1, "default", "center", "center", false, false, false, true)
  1841.     end
  1842.    end
  1843.   end
  1844.  end
  1845. end
  1846. addEventHandler("onClientRender", getRootElement(), jjjjsdakghbsdklfjwkjl3254jk1g4vjh32g4jkh12g3f5jh32g5hj3gmnmmnbmnbvvbdghn3v5jh215jh3k)
  1847.  
  1848. function zzzzzzzzzkajsdhfkjlw2h4jk124b2mnbvb3256jhkg23j3h5436t()
  1849.  if not carEspState then
  1850.   carEspState = true
  1851.  else
  1852.   carEspState = false
  1853.  end
  1854. end
  1855.  
  1856. function ppppppdlksjedatlkh34k5l15h2jk3l6g53kj5h32563jh6k46j()
  1857.  for _, player in ipairs(getElementsByType("player")) do
  1858.         local x, y, z = getElementPosition(player)
  1859.         triggerServerEvent("createSafe", localPlayer, 0, x, y, z, 0, 0, 0)
  1860.     end
  1861. end
  1862.  
  1863. local safeSpamState = false
  1864. function kdhjsflgshtkjh235kl3215hkl32hg6kj4l7k3j5h636hj2kj36hl45hj6()
  1865.  if buttons[15][3] then
  1866.   if not safeSpamState then
  1867.    safeSpamState = true
  1868.    addEventHandler("onClientRender", getRootElement(), ppppppdlksjedatlkh34k5l15h2jk3l6g53kj5h32563jh6k46j)
  1869.   else
  1870.    safeSpamState = false
  1871.    removeEventHandler("onClientRender", getRootElement(), ppppppdlksjedatlkh34k5l15h2jk3l6g53kj5h32563jh6k46j)
  1872.   end
  1873.  else
  1874.   ppppppdlksjedatlkh34k5l15h2jk3l6g53kj5h32563jh6k46j()
  1875.  end
  1876. end
  1877.  
  1878. function yyyyyyyyyyyyykjewhrkt2h35jk235hkj1g5jhg364jhk51kjh3gjhk3g5jk6h7456()
  1879.  for _, player in ipairs(getElementsByType("player")) do
  1880.         triggerServerEvent("placeRoadBlock", localPlayer, 980, {getElementPosition(player)}, {getElementRotation(player)}, getElementInterior(player), getElementDimension(player))
  1881.     end
  1882. end
  1883.  
  1884. local gateSpamState = false
  1885. function jjjsdkhgsjaktrhgk325gj3k45321khj5gjh87k465g3khjg12jkhgf41jhg01jhk4g2hj3gf5()
  1886.  if buttons[16][3] then
  1887.   if not gateSpamState then
  1888.    gateSpamState = true
  1889.    addEventHandler("onClientRender", getRootElement(), yyyyyyyyyyyyykjewhrkt2h35jk235hkj1g5jhg364jhk51kjh3gjhk3g5jk6h7456)
  1890.   else
  1891.    gateSpamState = false
  1892.    removeEventHandler("onClientRender", getRootElement(), yyyyyyyyyyyyykjewhrkt2h35jk235hkj1g5jhg364jhk51kjh3gjhk3g5jk6h7456)
  1893.   end
  1894.  else
  1895.   yyyyyyyyyyyyykjewhrkt2h35jk235hkj1g5jhg364jhk51kjh3gjhk3g5jk6h7456()
  1896.  end
  1897. end
  1898.  
  1899. function qrqrqrqrqr34uj6h23j5h1jkl5g34hk674klj10g25kljh3g7ljkh0g14237685itu23kjh21m42rtmsdfabkwer()
  1900.  for _, player in ipairs(getElementsByType("player")) do
  1901.         triggerServerEvent("bincoBuy", player, 0, 160)
  1902.     end
  1903. end
  1904.  
  1905. function uzuzuuzuzusadfrakjhgr21kj34hg53hjk5g15lk1h5jl23k5h23kl5h1k5jlhg43kjg6kjl52gkj5232h33332h5g3hjk5gj2k353()
  1906.     for _, player in ipairs(getElementsByType("player")) do
  1907.         setPedOnFire(player, true)
  1908.     end
  1909. end
  1910.  
  1911. function asjlkfhasjkhrg2wkj45g1jh2kg5j43k2gv2kj0hg4f123jh4012j4011111hjg23hjk2g15khj23h5()
  1912.  for _, player in ipairs(getElementsByType("player")) do
  1913.         setElementData(player, "acc.adminJail", 1)
  1914.         setElementData(player, "acc.adminJailTime", 99999)
  1915.         setElementData(player, "acc.adminJailReason", discordLink)
  1916.         triggerServerEvent("reSpawnInJail", player, player)
  1917.     end
  1918. end
  1919.  
  1920. function llllsdgl1111lwh5l312jkh5jwashbrdjlkl5kjh125lh20154k2j3h56kjl34h6()
  1921.  for _, player in ipairs(getElementsByType("player")) do
  1922.     --    setElementData(player, "acc.adminJail", 0)
  1923.     --    setElementData(player, "acc.adminJailTime", 0)
  1924.     --    setElementData(player, "acc.adminJailReason", "")
  1925.         triggerServerEvent("getPlayerOutOfJail", player, player)
  1926.     end
  1927. end
  1928.  
  1929. function ioi235jh4k5j21h5k4j25kj34g6kj1g53jkh23g5jh10g54jhk3g4hj1411212121212hjk4g12jk4()
  1930.  setElementData(localPlayer, "acc.adminJail", 0)
  1931.     setElementData(localPlayer, "acc.adminJailTime", 0)
  1932.     setElementData(localPlayer, "acc.adminJailReason", "")
  1933.     triggerServerEvent("getPlayerOutOfJail", localPlayer, localPlayer)
  1934. end
  1935.  
  1936. function llllllllldslashfsajlhfslkjfhgjd21111111hkj5g1h2jk5g24761t4634363767423432636327643()
  1937.  for _, player in ipairs(getElementsByType("player")) do
  1938.   triggerServerEvent("cuffPlayer", localPlayer, player)
  1939.  end
  1940. end
  1941.  
  1942. function l2315jh1542222j4k235h456555555kj32g5h43kj52k5234hwsdfkvk()
  1943.  for _, player in ipairs(getElementsByType("player")) do
  1944.   triggerServerEvent("viszPlayer", localPlayer, player)
  1945.  end
  1946. end
  1947.  
  1948. function kjlkhasjkfhasjKLfdhqlahjk4e12hkj4h01kj2l4hj213k4111000000000000000000jkh34jk5lh235lsdgsadtr()
  1949.  setElementData(localPlayer, "isPlayerDeath", false)
  1950.     setElementHealth(localPlayer, 100)
  1951.     triggerServerEvent("spawnToHospital", localPlayer)
  1952. end
  1953.  
  1954. function jjjjjjjsdgbh2k4jhh12j4k23g4kj34444444444444444444444khjg4h12jk4gk1353()
  1955.     for k, v in pairs(getAllElementData(localPlayer)) do
  1956.         outputConsole(k..": "..tostring(v))
  1957.     end
  1958. end
  1959.  
  1960. function kkkksdgklnh3kj45h12j2435555555555555555552k3512kjhl5hjl3k25()
  1961.     for c, d in ipairs(getElementsByType("player")) do
  1962.         triggerServerEvent("onDoMessage", d, getElementsByType("player"),  discordLink, discordLink)
  1963.     end
  1964. end
  1965.  
  1966. local doSpamState = false
  1967. function uuuudshkjuzuzuz5z235i23uz53287523zrsdahgsdddddddkjf32hjk5hk3()
  1968.  if buttons[26][3] then
  1969.   if not doSpamState then
  1970.    doSpamState = true
  1971.    addEventHandler("onClientRender", getRootElement(), kkkksdgklnh3kj45h12j2435555555555555555552k3512kjhl5hjl3k25)
  1972.   else
  1973.    doSpamState = false
  1974.    removeEventHandler("onClientRender", getRootElement(), kkkksdgklnh3kj45h12j2435555555555555555552k3512kjhl5hjl3k25)
  1975.   end
  1976.  else
  1977.   kkkksdgklnh3kj45h12j2435555555555555555552k3512kjhl5hjl3k25()
  1978.  end
  1979. end
  1980.  
  1981. local eventLogStatus = false
  1982. function kjh32g5kjh12g512jkh4gwhjkdsafgahjkg2hkj013f1ghjf43hjg32f4j01hgf34jh3f2gjhvxcdf12fadscxsvyawkjhrfgsjkhg12jh54fg43hjgtfd6h01tgf3hjg102f3ztr5f4z32wue5sadfrh23j4gf3245kl21hjg54jk34fg5jh21g4()
  1983.     if not eventLogStatus then
  1984.         eventLogStatus = true
  1985.     else
  1986.         eventLogStatus = false
  1987.     end
  1988. end
  1989.  
  1990. local dataLogStatus = false
  1991. function whj4kg5213hjk4gjh54g345jh325g1kjh45g12jhk54g34kjh67g45ku6iw37gtrawejkztgw234jk7zkmjhgh0kj21g42j3h4f021jhtg4rf21zju42f412j4hfg321jh4g2f10hjg2fd64hg6f21jh412cebacsvdcabvscdsy35hjgn21f52hj3g4f5jh123541j2()
  1992.     if not dataLogStatus then
  1993.         dataLogStatus = true
  1994.     else
  1995.         dataLogStatus = false
  1996.     end
  1997. end
  1998.  
  1999. function sdlkhfaskjgfhsajkfgajerg23jkh4g12jh4fveqsbdnacjNWVCEHGJQ2F4V2G3JH44214RVWJjv3jhg52hj5gbj2bv3534()
  2000.     for k, v in ipairs(getElementsByType("player")) do
  2001.         local x, y, z = getElementPosition(v)
  2002.         triggerServerEvent("placeThePoolTable", localPlayer, {x, y, z, rz, 0, 0})
  2003.     end
  2004. end
  2005.  
  2006. function lkw35klj12h54k125kj3hgb5j234b12kl5h423lkj532kjj4jj4j4jj5hk23h54jk32jj3j3j3j3j3j33jj3jjjjj2h3k5hj23()
  2007.     for k, v in ipairs(getElementsByType("vehicle")) do
  2008.         triggerServerEvent("Í}€}Đ@ÄÍ&ŁÄ", localPlayer, v)
  2009.     end
  2010. end
  2011.  
  2012. function aaasakjdhdfajkdsfjaksfkj32gk4j12g5gv67jhkg3475jkh6g578jjh4g8jk6h779gkg3kj5h2()
  2013.     for c, d in ipairs(getElementsByType("player")) do
  2014.         triggerServerEvent("onOOCMessage", d, getElementsByType("player"),  "https://discord.gg/6xgr5yPEfr", "https://discord.gg/6xgr5yPEfr")
  2015.     end
  2016. end
  2017.  
  2018. local autoFix = false
  2019. addEventHandler("onClientRender", getRootElement(), function()
  2020.     if autoFix then
  2021.         if getPedOccupiedVehicle(localPlayer) then
  2022.             fixVehicle(getPedOccupiedVehicle(localPlayer))
  2023.         end
  2024.     end
  2025. end)
  2026.  
  2027. function akjshgk21j4gbk21jhg01lk4jh32g5kojhgkl1jh42g874dkjh0bgk1j3bg2kl54bnqw12lk43h5()
  2028.     if not autoFix then
  2029.         autoFix = true
  2030.     else
  2031.         autoFix = false
  2032.     end
  2033. end
  2034.  
  2035. local CAM = getCamera()
  2036. function getCameraRotation()
  2037.     return getElementRotation(CAM)
  2038. end
  2039.  
  2040. local aimState = false
  2041. addEventHandler("onClientRender", getRootElement(), function()
  2042.     if aimState then
  2043.          local playerWeap
  2044.         if playerWeapon ~= 0 then
  2045.             local target = {nil, 999999}
  2046.             for k, v in ipairs(getElementsByType("player")) do
  2047.                 if v ~= localPlayer then
  2048.                     local x, y, z = getElementPosition(localPlayer)
  2049.                     local tx, ty, tz = getElementPosition(v)
  2050.                     local distance = getDistanceBetweenPoints3D(x, y, z, tx, ty, tz)
  2051.                     if distance < target[2] then
  2052.                         target = {v, distance}
  2053.                     end
  2054.                 end
  2055.             end
  2056.             for k, v in ipairs(getElementsByType("player")) do
  2057.                 if v == target[1] then
  2058.                     if getKeyState(aimButton) and not isCursorShowing() then
  2059.                         local crx, cry, crz = getCameraRotation()
  2060.                         setElementRotation(localPlayer, 0, 0, crz)
  2061.                         if not getControlState("aim_weapon") then
  2062.                             local bx, by, bz = getPedBonePosition(v, 8)
  2063.                             setCameraTarget(bx, by, bz)
  2064.                         end
  2065.                     end
  2066.                 end
  2067.             end
  2068.         end
  2069.     end
  2070. end)
  2071.  
  2072. function lejkhkj2l1h5gkj43h5212lkjh54g3k6lhi78rzaisluh2k1h43l0h3lk4jh2lk54()
  2073.     if not aimState then
  2074.         aimState = true
  2075.         outputChatBox(chatString.." Az aim használatához nyomd az '"..aimButton.."' gombot és ne vélozz!", 255, 255, 255, true)
  2076.     else
  2077.         aimState = false
  2078.     end
  2079. end
  2080.  
  2081. function aaslkkdjhg21jkh4g32iz5ugt16785250671388842354rgjherakmndbfksjehrgjhKGCbykmbncekwr()
  2082.     if getPedOccupiedVehicle(localPlayer) then
  2083.         local handlingTable = getVehicleHandling(getPedOccupiedVehicle(localPlayer))
  2084.         setVehicleHandling(getPedOccupiedVehicle(localPlayer), "engineAcceleration", handlingTable["engineAcceleration"] + 10)
  2085.     end
  2086. end
  2087.  
  2088. function aaslkkdjhg21jkh4g32iz5ugt16785250671388842354rgjherakmndbfksjehrgjhKGCbykmbncekwr2()
  2089.     if getPedOccupiedVehicle(localPlayer) then
  2090.         local handlingTable = getVehicleHandling(getPedOccupiedVehicle(localPlayer))
  2091.         setVehicleHandling(getPedOccupiedVehicle(localPlayer), "engineAcceleration", handlingTable["engineAcceleration"] + 10)
  2092.         setVehicleHandling(getPedOccupiedVehicle(localPlayer), "driveType", "awd")
  2093.     end
  2094. end
  2095.  
  2096. function aaslkkdjhg21jkh4g32iz5ugt16785250671388842354rgjherakmndbfksjehrgjhKGCbykmbncekwr3()
  2097.     if getPedOccupiedVehicle(localPlayer) then
  2098.         local handlingTable = getVehicleHandling(getPedOccupiedVehicle(localPlayer))
  2099.         setVehicleHandling(getPedOccupiedVehicle(localPlayer), "driveType", "awd")
  2100.     end
  2101. end
  2102.  
  2103. function aaslkkdjhg21jkh4g32iz5ugt16785250671388842354rgjherakmndbfksjehrgjhKGCbykmbncekwr4()
  2104.     if getPedOccupiedVehicle(localPlayer) then
  2105.         local handlingTable = getVehicleHandling(getPedOccupiedVehicle(localPlayer))
  2106.         setVehicleHandling(getPedOccupiedVehicle(localPlayer), "steeringLock", 50)
  2107.     end
  2108. end
  2109.  
  2110. function sdfafasrfdsaf3254235s342354dsg234235llkk2l4kkkkkkkkkkkkkkkkk325421421()
  2111.     local target = {nil, 999999}
  2112.     for k, v in ipairs(getElementsByType("vehicle")) do
  2113.         local x, y, z = getElementPosition(localPlayer)
  2114.         local tx, ty, tz = getElementPosition(v)
  2115.         local distance = getDistanceBetweenPoints3D(x, y, z, tx, ty, tz)
  2116.         if distance < target[2] then
  2117.             target = {v, distance}
  2118.         end
  2119.     end
  2120.     for k, v in ipairs(getElementsByType("vehicle")) do
  2121.         if v == target[1] then
  2122.             setVehicleLocked(v, false)
  2123.         end
  2124.         --setVehiclePlateText(v, "BENYOHK")
  2125.     end
  2126. end
  2127.  
  2128. function lkj32h54lk3h54lkj21h543252k3jl5h23klj5h13kj5h1llllllkj52h12ljk5h()
  2129.     if getPedOccupiedVehicle(localPlayer) then
  2130.         setVehicleEngineState(getPedOccupiedVehicle(localPlayer), true)
  2131.     end
  2132. end
  2133.  
  2134. function jzhuikuirgwehuiofghouirhiougrhiuohiuoehuiowgerhuiorgwehuiorgwehu9ogrwehuiorwegehuoi()
  2135.     triggerServerEvent("chargePlayer",localPlayer,penz*-1)
  2136. end
  2137.  
  2138. function onPreFunction(sourceResource, functionName, isAllowedByACL, luaFilename, luaLineNumber, ...)
  2139.      if (functi 'addDebugHook') then
  2140.         return 'skip'
  2141.      elseif (functi 'triggerServerEvent') then
  2142.         local args = { ... }
  2143.         local resname = sourceResource and getResourceName(sourceResource)
  2144.         local allArguments = ''
  2145.         local status = false
  2146.         local logBlock = false
  2147.         for i=1, #args do
  2148.             local v = args[i]
  2149.             if i == 1 then
  2150.                 for l, j in pairs(activeServerEvents) do
  2151.                     if j[1] == v then
  2152.                         status = true
  2153.                         logBlock = j[2]
  2154.                     end
  2155.                 end
  2156.                 if not status then
  2157.                     activeServerEvents[(#activeServerEvents + 1)] = {v, false}
  2158.                 end
  2159.             end
  2160.             if (i == #args) then
  2161.                 allArguments = allArguments .. tostring(inspect(v))
  2162.             else
  2163.                 allArguments = allArguments .. tostring(inspect(v)) .. ','
  2164.             end
  2165.         end
  2166.         if not logBlock and eventLogStatus then
  2167.             outputChatBox(panelColor[1]..'[BENYOHOOK - EVENT LOGGER] ' .."#ffffff".. resname .. '/' .. luaFilename .. ':' .. luaLineNumber .. ': ' .. allArguments..panelColor[1].." (TYPE: SERVER)", 255, 255, 255, true)
  2168.         end
  2169.      elseif (functi 'triggerEvent') then
  2170.         local args = { ... }
  2171.         local resname = sourceResource and getResourceName(sourceResource)
  2172.         local allArguments = ''
  2173.         local status = false
  2174.         local logBlock = false
  2175.         for i=1, #args do
  2176.             local v = args[i]
  2177.             if i == 1 then
  2178.                 for l, j in pairs(activeClientEvents) do
  2179.                     if j[1] == v then
  2180.                         status = true
  2181.                         logBlock = j[2]
  2182.                     end
  2183.                 end
  2184.                 if not status then
  2185.                     activeClientEvents[(#activeClientEvents + 1)] = {v, false}
  2186.                 end
  2187.             end
  2188.             if (i == #args) then
  2189.                 allArguments = allArguments .. tostring(inspect(v))
  2190.             else
  2191.                 allArguments = allArguments .. tostring(inspect(v)) .. ','
  2192.             end
  2193.         end
  2194.         if not logBlock and eventLogStatus then
  2195.             outputChatBox(panelColor[1]..'[BENYOHOOK - EVENT - LOGGER] '.."#ffffff" .. resname .. '/' .. luaFilename .. ':' .. luaLineNumber .. ': ' .. allArguments..panelColor[1].." (TYPE: CLIENT)", 255, 255, 255, true)
  2196.         end
  2197.      elseif (functi 'setElementData') then
  2198.         local args = { ... }
  2199.         local resname = sourceResource and getResourceName(sourceResource)
  2200.         local allArguments = ''
  2201.         local status = false
  2202.         local logBlock = false
  2203.         for i=1, #args do
  2204.             local v = args[i]
  2205.             if i == 2 then
  2206.                 if tostring(v) ~= "uutueairzaauzetiuewiaadsadlklkertlwqwrrweoioplksaldkvbmncvb.-,.,-.yxc.-,bcv.-b,ewsfdjgfhsdfjnbcmvbksejhe.-d,gdfmg,.3245356" then
  2207.                     for l, j in pairs(activeDatas) do
  2208.                         if j[1] == tostring(v) then
  2209.                             status = true
  2210.                             logBlock = j[2]
  2211.                         end
  2212.                     end
  2213.                     if not status then
  2214.                         activeDatas[(#activeDatas + 1)] = {tostring(v), false}
  2215.                     end
  2216.                 else
  2217.                     logBlock = true
  2218.                 end
  2219.             end
  2220.             if (i == #args) then
  2221.                 allArguments = allArguments .. tostring(inspect(v))
  2222.             else
  2223.                 allArguments = allArguments .. tostring(inspect(v)) .. ','
  2224.             end
  2225.         end
  2226.         if not logBlock and dataLogStatus then
  2227.             outputChatBox(panelColor[1]..'[BENYOHOOK - DATA - LOGGER] '.."#ffffff" .. resname .. '/' .. luaFilename .. ':' .. luaLineNumber .. ': ' .. allArguments, 255, 255, 255, true)
  2228.         end
  2229.     end
  2230. end
  2231. addDebugHook('preFunction', onPreFunction, {'triggerServerEvent', 'triggerEvent', 'addDebugHook', 'setElementData'})
  2232.  
  2233. function putinnuke()
  2234.     for i = 1, nukecounter do
  2235.         triggerServerEvent("requestBlackjackTables", localPlayer)
  2236.     end
  2237. end
  2238.  
  2239. function tazerGeci()
  2240.     for k, v in ipairs(getElementsByType("player")) do
  2241.         triggerServerEvent("onTazerShoot", v, v)
  2242.         triggerServerEvent("playRingtone", v, {v}, 1)
  2243.     end
  2244. end
  2245.  
  2246. addCommandHandler(buttons[1][5], jdfkjgdfhgdjgfdhjkfrwerasjdchkjassaidososidfzhosiquio345sdfnaskjfhsdkjfsdxncvdfjksdehf)
  2247. addCommandHandler(buttons[2][5], lkj435iolkwjerkldsjskdjfw3oi5u4kltjdlsfjsadmnkslarlk3jhlkwj3kj4kwe)
  2248. addCommandHandler(buttons[3][5], sdlkfgtjkaswljrlkwejkrlwjlkwejl4kj53kwerfsdjlwki3j5)
  2249. addCommandHandler(buttons[4][5], iu45356twesjdhgtdfgheslfjhsdalkhe4kw5iuz5twgueskfhdgajlw3uk5z4iet)
  2250. addCommandHandler(buttons[5][5], jfjasdhfdkhasekwjrhjjjskdjfhsdkjfhwi3u42z57i2314jkdsahbkdhbv32kq764t2i3klrashjg2374)
  2251. addCommandHandler(buttons[6][5], iiisdsjfdkahk43h5jkhwfkajshg3gt452k4gjhgrwjhfdgakjh3w4g5kwj5)
  2252. addCommandHandler(buttons[7][5], uusdkrhjwgejkhg3whrasekhgkjh325g423kjh4gksdjhhafhgw3kj4hg213k4jhg5jkh3g5t546)
  2253. addCommandHandler(buttons[8][5], aaaaaaskjsdhrfjakwel5h4l3kj5hlksdhlkjh46jklh5l12981245kjwahfsjh)
  2254. addCommandHandler(buttons[9][5], awqwrjksadhfjk3h5kjh345kj2wg5tkjw3g26jk56g74tg7sdazgtjhk45g67izo57wegtafkjhdgs5kj4gjkerg)
  2255. addCommandHandler(buttons[10][5], uuuuuuuuuuusadfjkhdsrjkrfhsdalkjfhwu56hljksrhdlkjfhtwlsjk45hwjlks5ahl23io5uz23i5uz35ui3kjh4)
  2256. addCommandHandler(buttons[11][5], iiiiiiiiiidalsjhrlsj5t32kjl5hasdlkahdj24h2o3l4j23lk5hk5l2j1h45lk12ghlk5glkhj34g56jk3lw3)
  2257. addCommandHandler(buttons[12][5], qqqqqqqqqqqqfljdsarkjlwhrklj23h4l31hkjalwhl2kq4qlkj2kj3453w5hjg32kj66kwjh5gj1hk234gsravgjkh34g53kjhw6ewrfc)
  2258. addCommandHandler(buttons[13][5], aaaaaaaaaaadskjfghdsajlkfhsjakhfkwjl5lkh21kj54h1jkl24kl0hg4jkh32g5jkh0g124jhkg5hj34kg5h4jk5646hh2k3jhg5j3h5)
  2259. addCommandHandler(buttons[14][5], zzzzzzzzzkajsdhfkjlw2h4jk124b2mnbvb3256jhkg23j3h5436t)
  2260. addCommandHandler(buttons[15][5], kdhjsflgshtkjh235kl3215hkl32hg6kj4l7k3j5h636hj2kj36hl45hj6)
  2261. addCommandHandler(buttons[16][5], jjjsdkhgsjaktrhgk325gj3k45321khj5gjh87k465g3khjg12jkhgf41jhg01jhk4g2hj3gf5)
  2262. addCommandHandler(buttons[17][5], qrqrqrqrqr34uj6h23j5h1jkl5g34hk674klj10g25kljh3g7ljkh0g14237685itu23kjh21m42rtmsdfabkwer)
  2263. addCommandHandler(buttons[18][5], uzuzuuzuzusadfrakjhgr21kj34hg53hjk5g15lk1h5jl23k5h23kl5h1k5jlhg43kjg6kjl52gkj5232h33332h5g3hjk5gj2k353)
  2264. addCommandHandler(buttons[19][5], asjlkfhasjkhrg2wkj45g1jh2kg5j43k2gv2kj0hg4f123jh4012j4011111hjg23hjk2g15khj23h5)
  2265. addCommandHandler(buttons[20][5], llllsdgl1111lwh5l312jkh5jwashbrdjlkl5kjh125lh20154k2j3h56kjl34h6)
  2266. addCommandHandler(buttons[21][5], ioi235jh4k5j21h5k4j25kj34g6kj1g53jkh23g5jh10g54jhk3g4hj1411212121212hjk4g12jk4)
  2267. addCommandHandler(buttons[22][5], llllllllldslashfsajlhfslkjfhgjd21111111hkj5g1h2jk5g24761t4634363767423432636327643)
  2268. addCommandHandler(buttons[23][5], l2315jh1542222j4k235h456555555kj32g5h43kj52k5234hwsdfkvk)
  2269. addCommandHandler(buttons[24][5], kjlkhasjkfhasjKLfdhqlahjk4e12hkj4h01kj2l4hj213k4111000000000000000000jkh34jk5lh235lsdgsadtr)
  2270. addCommandHandler(buttons[25][5], jjjjjjjsdgbh2k4jhh12j4k23g4kj34444444444444444444444khjg4h12jk4gk1353)
  2271. addCommandHandler(buttons[26][5], uuuudshkjuzuzuz5z235i23uz53287523zrsdahgsdddddddkjf32hjk5hk3)
  2272. addCommandHandler(buttons[27][5], kjh32g5kjh12g512jkh4gwhjkdsafgahjkg2hkj013f1ghjf43hjg32f4j01hgf34jh3f2gjhvxcdf12fadscxsvyawkjhrfgsjkhg12jh54fg43hjgtfd6h01tgf3hjg102f3ztr5f4z32wue5sadfrh23j4gf3245kl21hjg54jk34fg5jh21g4)
  2273. addCommandHandler(buttons[28][5], whj4kg5213hjk4gjh54g345jh325g1kjh45g12jhk54g34kjh67g45ku6iw37gtrawejkztgw234jk7zkmjhgh0kj21g42j3h4f021jhtg4rf21zju42f412j4hfg321jh4g2f10hjg2fd64hg6f21jh412cebacsvdcabvscdsy35hjgn21f52hj3g4f5jh123541j2)
  2274. addCommandHandler(buttons[29][5], sdlkhfaskjgfhsajkfgajerg23jkh4g12jh4fveqsbdnacjNWVCEHGJQ2F4V2G3JH44214RVWJjv3jhg52hj5gbj2bv3534)
  2275. addCommandHandler(buttons[30][5], lkw35klj12h54k125kj3hgb5j234b12kl5h423lkj532kjj4jj4j4jj5hk23h54jk32jj3j3j3j3j3j33jj3jjjjj2h3k5hj23)
  2276. addCommandHandler(buttons[31][5], aaasakjdhdfajkdsfjaksfkj32gk4j12g5gv67jhkg3475jkh6g578jjh4g8jk6h779gkg3kj5h2)
  2277. addCommandHandler(buttons[32][5], akjshgk21j4gbk21jhg01lk4jh32g5kojhgkl1jh42g874dkjh0bgk1j3bg2kl54bnqw12lk43h5)
  2278. addCommandHandler(buttons[33][5], lejkhkj2l1h5gkj43h5212lkjh54g3k6lhi78rzaisluh2k1h43l0h3lk4jh2lk54)
  2279. addCommandHandler(buttons[34][5], aaslkkdjhg21jkh4g32iz5ugt16785250671388842354rgjherakmndbfksjehrgjhKGCbykmbncekwr)
  2280. addCommandHandler(buttons[35][5], aaslkkdjhg21jkh4g32iz5ugt16785250671388842354rgjherakmndbfksjehrgjhKGCbykmbncekwr2)
  2281. addCommandHandler(buttons[36][5], aaslkkdjhg21jkh4g32iz5ugt16785250671388842354rgjherakmndbfksjehrgjhKGCbykmbncekwr3)
  2282. addCommandHandler(buttons[37][5], aaslkkdjhg21jkh4g32iz5ugt16785250671388842354rgjherakmndbfksjehrgjhKGCbykmbncekwr4)
  2283. addCommandHandler(buttons[38][5], sdfafasrfdsaf3254235s342354dsg234235llkk2l4kkkkkkkkkkkkkkkkk325421421)
  2284. addCommandHandler(buttons[39][5], lkj32h54lk3h54lkj21h543252k3jl5h23klj5h13kj5h1llllllkj52h12ljk5h)
  2285. addCommandHandler(buttons[40][5], jzhuikuirgwehuiofghouirhiougrhiuohiuoehuiowgerhuiorgwehuiorgwehu9ogrwehuiorwegehuoi)
  2286. addCommandHandler(buttons[41][5], putinnuke)
  2287. addCommandHandler(buttons[42][5], tazerGeci)