Advertisement
Guest User

Untitled

a guest
Oct 13th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 18.35 KB | None | 0 0
  1. addEvent("logging:alert", true)
  2. addEvent("logging:successful", true)
  3.  
  4. edit=exports.editbox
  5.  
  6. local sx,sy = guiGetScreenSize()
  7. local fh = 1920
  8. if sx < fh then
  9.  zoom = math.min(2,fh/sx)
  10. else
  11.  zoom = 1
  12. end
  13.  
  14. Blur = {}
  15.  
  16. local shader = false
  17. local renderTarget = false
  18. local screenSource = false
  19. local screenWidth, screenHeight = guiGetScreenSize()
  20. local blurStrength = 6
  21. local saturation = 1.0
  22. local brightness = 0.6
  23. local contrast = 1.0
  24. local testMode = "false"
  25.  
  26. local function wordWrap(str, limit)
  27.   limit = limit or 80
  28.   local here = 1
  29.   return ""..str:gsub("(%s+)()(%S+)()",
  30.   function(sp, st, word, fi)
  31.         if fi-here > limit then
  32.           here = st
  33.           return "\n"..word
  34.         end
  35.   end)
  36. end
  37.  
  38. local sm = {}
  39. sm.moov = 0
  40. object1,object2 = nil,nil
  41.  
  42. local function removeCamHandler()
  43.     if(sm.moov == 1)then
  44.         sm.moov = 0
  45.     end
  46. end
  47.  
  48. local rules_table={
  49.     [1] = "spierdalajs1asdasda sdpierdalajspie rdalajspierdal ajspierdalaasdasjspierd alajspierdalaj spierdalaj",
  50.     [2] = "wypierdalaj",
  51.     [3] = "frajerze",
  52.     [4] = "kurwo",
  53.     [5] = "ssij druta",
  54.     [6] = "jebać extrema",
  55.     [7] = "i chuj",
  56.     [8] = "1",
  57.     [9] = "2",
  58.     [10] = "3",
  59.     [11] = "4",
  60.     [12] = "5",
  61. }
  62.  
  63. for i=1,#rules_table do
  64.     if not rules then
  65.         rules=i..". "..wordWrap(rules_table[i], 70)
  66.     else
  67.         rules=rules.."\n"..i..". "..wordWrap(rules_table[i], 70)
  68.     end
  69. end
  70.  
  71. local dxfont0_AkrobatLight = dxCreateFont("/fonts/Akrobat-Light.otf", 16/(zoom/1.15))
  72. local dxfont1_AkrobatLight = dxCreateFont("/fonts/Akrobat-Light.otf", 12/(zoom/1.15))
  73.  
  74. current_view = "logging"
  75.  
  76. class "login_client"
  77. {
  78.     __init__ = function(self)
  79.         self.camRender = function()
  80.             if (sm.moov == 1) then
  81.                 local x1,y1,z1 = getElementPosition(object1)
  82.                 local x2,y2,z2 = getElementPosition(object2)
  83.                 setCameraMatrix(x1,y1,z1,x2,y2,z2)
  84.             end
  85.         end
  86.         self.smoothMoveCamera = function(x1,y1,z1,x1t,y1t,z1t,x2,y2,z2,x2t,y2t,z2t,time)
  87.             if(sm.moov == 1)then return false end
  88.             object1 = Object(1337,x1,y1,z1)
  89.             object2 = Object(1337,x1t,y1t,z1t)
  90.             setElementAlpha(object1,0)
  91.             setElementAlpha(object2,0)
  92.             setObjectScale(object1,0.01)
  93.             setObjectScale(object2,0.01)
  94.             moveObject(object1,time,x2,y2,z2,0,0,0,"InOutQuad")
  95.             moveObject(object2,time,x2t,y2t,z2t,0,0,0,"InOutQuad")
  96.             sm.moov = 1
  97.             setTimer(removeCamHandler,time,1)
  98.             setTimer(destroyElement,time,1,object1)
  99.             setTimer(destroyElement,time,1,object2)
  100.             return true
  101.         end
  102.         self.inPosition = function(x,y,w,h)
  103.             if (not isCursorShowing()) then
  104.                 return false
  105.             end
  106.             local sx, sy = guiGetScreenSize()
  107.             local cx, cy = getCursorPosition()
  108.             local cx, cy = (cx * sx), (cy * sy)
  109.             if (cx >= x and cx <= x + w) and (cy >= y and cy <= y + h) then
  110.                 return true
  111.             else
  112.                 return false
  113.             end
  114.         end
  115.         self.error = function(text)
  116.             warning=text
  117.             if timer and timer.valid then timer:destroy() end
  118.             timer=Timer(function() warning=false end, 3000, 1)
  119.         end
  120.         self.onClick = function(btn,state)
  121.             if btn=="left" and state=="up" then
  122.                 if self.inPosition(606/zoom, 47/zoom, 150/zoom, 157/zoom) and not animating and current_view ~= "logging" then
  123.                     current_alpha = 255
  124.                     animating=true
  125.                     animation_level=1
  126.                     animation=Timer(function()
  127.                         if animation_level == 1 then
  128.                             current_alpha=current_alpha-7.5
  129.                         elseif animation_level == 2 then
  130.                             current_alpha=current_alpha+7.5
  131.                         end
  132.                         if animation_level == 1 and current_alpha == 0 then
  133.                             animation_level=2
  134.                             current_view="logging"
  135.                         elseif animation_level == 2 and current_alpha == 255 then
  136.                             animation:destroy()
  137.                             animating=false
  138.                             current_alpha=false
  139.                         end
  140.                     end, 50, 0)
  141.                 elseif self.inPosition(885/zoom, 47/zoom, 150/zoom, 157/zoom) and not animating and current_view ~= "registering" then
  142.                     current_alpha = 255
  143.                     animating=true
  144.                     animation_level=1
  145.                     animation=Timer(function()
  146.                         if animation_level == 1 then
  147.                             current_alpha=current_alpha-7.5
  148.                         elseif animation_level == 2 then
  149.                             current_alpha=current_alpha+7.5
  150.                         end
  151.                         if animation_level == 1 and current_alpha == 0 then
  152.                             animation_level=2
  153.                             current_view="registering"
  154.                         elseif animation_level == 2 and current_alpha == 255 then
  155.                             animation:destroy()
  156.                             animating=false
  157.                             current_alpha=false
  158.                         end
  159.                     end, 50, 0)
  160.                 elseif self.inPosition(1165/zoom, 47/zoom, 150/zoom, 157/zoom) and not animating and current_view ~= "rules" then
  161.                     current_alpha = 255
  162.                     animating=true
  163.                     animation_level=1
  164.                     animation=Timer(function()
  165.                         if animation_level == 1 then
  166.                             current_alpha=current_alpha-7.5
  167.                         elseif animation_level == 2 then
  168.                             current_alpha=current_alpha+7.5
  169.                         end
  170.                         if animation_level == 1 and current_alpha == 0 then
  171.                             animation_level=2
  172.                             current_view="rules"
  173.                         elseif animation_level == 2 and current_alpha == 255 then
  174.                             animation:destroy()
  175.                             animating=false
  176.                             current_alpha=false
  177.                         end
  178.                     end, 50, 0)
  179.                 elseif self.inPosition(1005/zoom, 727/zoom, 34/zoom, 31/zoom) and (current_view=="logging") then
  180.                     save_password=not save_password
  181.                 elseif self.inPosition(901/zoom, 705/zoom, 58/zoom, 58/zoom) and (current_view=="registering") then
  182.                     gender="men"
  183.                 elseif self.inPosition(959/zoom, 705/zoom, 58/zoom, 58/zoom) and (current_view=="registering") then
  184.                     gender="women"
  185.                 elseif self.inPosition(810/zoom, 763/zoom, 301/zoom, 65/zoom) and (current_view=="logging" or current_view=="registering") and not cooldown then
  186.                     local login=edit:getCustomEditboxText('LOGGING-LOGIN')
  187.                     local password=edit:getCustomEditboxText('LOGGING-PASSWORD')
  188.                     if string.len(login) < 4 or string.len(password) < 4 then
  189.                         self.error("Login i hasło muszą zawierać minimalnie 4 znaki!")
  190.                         return
  191.                     end
  192.                     if (current_view=="registering" and not gender) then
  193.                         self.error("Nie wybrano płci!")
  194.                         return
  195.                     end
  196.                     triggerServerEvent("logging:event", localPlayer, current_view, login, password, (current_view=="logging") and save_password or gender)
  197.                     cooldown=true
  198.                     t_cooldown=Timer(function()
  199.                         cooldown=false
  200.                         t_cooldown:destroy()
  201.                     end, 1750, 1)
  202.                 end
  203.             end
  204.         end
  205.         self.render = function()
  206.             if isTransferBoxActive() == false then
  207.                 if not data then
  208.                     data=true
  209.                     setElementData(localPlayer, "after:download", true)
  210.                 end
  211.                 screenSource:update()
  212.                 blurShader:setValue("screenSource", screenSource)
  213.                 blurShader:setValue("screenSize", {screenWidth, screenHeight})
  214.                 blurShader:setValue("blurStrength", blurStrength)
  215.                 blurShader:setValue("saturation", saturation)
  216.                 blurShader:setValue("brightness", brightness)
  217.                 blurShader:setValue("contrast", contrast)
  218.                 edit=exports.editbox
  219.                 if not edit:isCustomEditboxCreated('LOGGING-PASSWORD') then
  220.                     --edit:createEditBox('LOGGING-LOGIN', 737/zoom, 546/zoom, 454/zoom, 44/zoom, true, "", false, 14, "arial", false, 3, { 0, 0, 0, 180 }, true, { 128, 128, 128, 250 }, 2, true, 60, false, "..", { 0, 0, 0, 170 }, true, 2, "arial", true, true, {255, 255, 255}, true )
  221.                     --edit:createEditBox('LOGGING-PASSWORD', 737/zoom, 649/zoom, 454/zoom, 44/zoom, true, "", true, 40, "arial", false, 0, { 0, 0, 0, 180 }, true, { 128, 128, 128, 250 }, 2, true, 60, false, "..", { 0, 0, 0, 170 }, true, 2, "arial", true, true, {255, 255, 255}, true )
  222.                     edit:createCustomEditbox('LOGGING-LOGIN', '', 737/zoom, 546/zoom, 454/zoom, 44/zoom, false, '', 14)
  223.                     edit:createCustomEditbox('LOGGING-PASSWORD', '', 737/zoom, 649/zoom, 454/zoom, 44/zoom, true, '', 40)
  224.                 end
  225.                 edit:customEditboxSetAlpha('LOGGING-LOGIN', current_alpha or 255)
  226.                 edit:customEditboxSetAlpha('LOGGING-PASSWORD', current_alpha or 255)
  227.                 dxSetRenderTarget(renderTarget4x4, true)
  228.                 dxDrawImage(0, 0, screenWidth, screenHeight, blurShader)
  229.                 dxSetRenderTarget()
  230.                 if warning then
  231.                     dxDrawText(warning, 605/zoom, 858/zoom, 1314/zoom, 924/zoom, tocolor(203, 0, 0, 255), 1.00, dxfont0_AkrobatLight, "center", "top", false, true, false, false, false)
  232.                 end
  233.                 local ls,rs = intro:getLevelData()
  234.                 if ls then
  235.                     bt = tonumber(ls)/100
  236.                     if bt then if bt > 255 then bt = 255 elseif bt < 20 then bt = 20 end end
  237.                 end
  238.                 if not bt then bt=255 end
  239.                 dxDrawImage(-340/zoom, 0/zoom, 683/zoom, 1076/zoom, "img/shadow.png", 0, 0, 0, tocolor(255, 255, 255, bt or 255), true)
  240.                 dxDrawImage(1590/zoom, 0/zoom, 683/zoom, 1076/zoom, "/img/shadow.png", 54, 0, 0, tocolor(255, 255, 255, bt or 255), true)
  241.                 --exports["blur"]:dxDrawBluredRectangle(0,0,screenWidth,screenHeight,tocolor(255,255,255,255))
  242.                 dxDrawImage(572/zoom, 194/zoom, 777/zoom, 693/zoom, "/img/window.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
  243.                 dxDrawImage(606/zoom, 47/zoom, 150/zoom, 157/zoom, "/img/loginicon.png", 0, 0, 0, tocolor(255, 255, 255, self.inPosition(606/zoom, 47/zoom, 150/zoom, 157/zoom) and 200 or 255), false)
  244.                 dxDrawImage(1165/zoom, 47/zoom, 150/zoom, 157/zoom, "/img/rulesicon.png", 0, 0, 0, tocolor(255, 255, 255, self.inPosition(1165/zoom, 47/zoom, 150/zoom, 157/zoom) and 200 or 255), false)
  245.                 dxDrawImage(885/zoom, 47/zoom, 150/zoom, 157/zoom, "/img/registericon.png", 0, 0, 0, tocolor(255, 255, 255, self.inPosition(885/zoom, 47/zoom, 150/zoom, 157/zoom) and 200 or 255), false)
  246.                 if (current_view=="logging") then
  247.                     dxDrawImage(810/zoom, 763/zoom, 301/zoom, 65/zoom, "/img/loginbtn.png", 0, 0, 0, tocolor(255, 255, 255, cooldown and 50 or current_alpha or self.inPosition(810/zoom, 763/zoom, 301/zoom, 65/zoom) and 200 or 255), false)
  248.                     --dxDrawImage(733/zoom, 536/zoom, 454/zoom, 64/zoom, "/img/editbox.png", 0, 0, 0, tocolor(255, 255, 255, current_alpha or (editbox_selected == editbox_login) and 200 or 255), false)
  249.                     dxDrawText("LOGOWANIE", 604/zoom, 424/zoom, 1315/zoom, 508/zoom, tocolor(255, 255, 255, current_alpha or 255), 1.00, dxfont0_AkrobatLight, "center", "center", false, false, false, false, false)
  250.                     dxDrawText("WPISZ LOGIN:", 743/zoom, 522/zoom, 1177/zoom, 540/zoom, tocolor(255, 255, 255, current_alpha or 255), 1.00, dxfont1_AkrobatLight, "left", "top", false, false, false, false, false)
  251.                     --dxDrawImage(733/zoom, 639/zoom, 454/zoom, 64/zoom, "/img/editbox.png", 0, 0, 0, tocolor(255, 255, 255, current_alpha or (editbox_selected == editbox_password) and 200 or 255), false)
  252.                     dxDrawText("WPISZ HASŁO:", 743/zoom, 623/zoom, 1177/zoom, 644/zoom, tocolor(255, 255, 255, current_alpha or 255), 1.00, dxfont1_AkrobatLight, "left", "top", false, false, false, false, false)
  253.                     dxDrawText("ZAPAMIĘTAJ HASŁO", 884/zoom, 732/zoom, 995/zoom, 753/zoom, tocolor(255, 255, 255, current_alpha or 255), 1.00, dxfont1_AkrobatLight, "left", "top", false, false, false, false, false)
  254.                     dxDrawImage(1005/zoom, 727/zoom, 34/zoom, 31/zoom, save_password and "/img/checkbox_on.png" or "/img/checkbox_off.png", 0, 0, 0, tocolor(255, 255, 255, current_alpha or 255), false)
  255.                     edit:customEditboxSetText('LOGGING-LOGIN', edit:getCustomEditboxText('LOGGING-LOGIN'):gsub("[^%w%b-.]", ""))
  256.                 elseif (current_view=="registering") then
  257.                     dxDrawImage(810/zoom, 763/zoom, 301/zoom, 65/zoom, "/img/registerbtn.png", 0, 0, 0, tocolor(255, 255, 255, cooldown and 50 or current_alpha or self.inPosition(810/zoom, 763/zoom, 301/zoom, 65/zoom) and 200 or 255), false)
  258.                     --dxDrawImage(733/zoom, 536/zoom, 454/zoom, 64/zoom, "/img/editbox.png", 0, 0, 0, tocolor(255, 255, 255, current_alpha or (editbox_selected == editbox_login) and 200 or 255), false)
  259.                     dxDrawText("REJESTRACJA", 604/zoom, 424/zoom, 1315/zoom, 508/zoom, tocolor(255, 255, 255, current_alpha or 255), 1.00, dxfont0_AkrobatLight, "center", "center", false, false, false, false, false)
  260.                     dxDrawText("WPISZ LOGIN:", 743/zoom, 522/zoom, 1177/zoom, 540/zoom, tocolor(255, 255, 255, current_alpha or 255), 1.00, dxfont1_AkrobatLight, "left", "top", false, false, false, false, false)
  261.                     --dxDrawImage(733/zoom, 639/zoom, 454/zoom, 64/zoom, "/img/editbox.png", 0, 0, 0, tocolor(255, 255, 255, current_alpha or (editbox_selected == editbox_password) and 200 or 255), false)
  262.                     dxDrawText("WPISZ HASŁO:", 743/zoom, 623/zoom, 1177/zoom, 644/zoom, tocolor(255, 255, 255, current_alpha or 255), 1.00, dxfont1_AkrobatLight, "left", "top", false, false, false, false, false)
  263.                     if gender == "men" then
  264.                         dxDrawImage(900/zoom, 705/zoom, 58/zoom, 58/zoom, "/img/men.png", 0, 0, 0, tocolor(0, 0, 0, current_alpha or self.inPosition(901/zoom, 705/zoom, 58/zoom, 58/zoom) and 200 or 255), false)
  265.                         dxDrawImage(902/zoom, 705/zoom, 58/zoom, 58/zoom, "/img/men.png", 0, 0, 0, tocolor(0, 0, 0, current_alpha or self.inPosition(901/zoom, 705/zoom, 58/zoom, 58/zoom) and 200 or 255), false)
  266.                         dxDrawImage(901/zoom, 706/zoom, 58/zoom, 58/zoom, "/img/men.png", 0, 0, 0, tocolor(0, 0, 0, current_alpha or self.inPosition(901/zoom, 705/zoom, 58/zoom, 58/zoom) and 200 or 255), false)
  267.                         dxDrawImage(901/zoom, 704/zoom, 58/zoom, 58/zoom, "/img/men.png", 0, 0, 0, tocolor(0, 0, 0, current_alpha or self.inPosition(901/zoom, 705/zoom, 58/zoom, 58/zoom) and 200 or 255), false)
  268.                     elseif gender == "women" then
  269.                         dxDrawImage(958/zoom, 705/zoom, 58/zoom, 58/zoom, "/img/women.png", 0, 0, 0, tocolor(0, 0, 0, current_alpha or self.inPosition(959/zoom, 705/zoom, 58/zoom, 58/zoom) and 200 or 255), false)
  270.                         dxDrawImage(960/zoom, 705/zoom, 58/zoom, 58/zoom, "/img/women.png", 0, 0, 0, tocolor(0, 0, 0, current_alpha or self.inPosition(959/zoom, 705/zoom, 58/zoom, 58/zoom) and 200 or 255), false)
  271.                         dxDrawImage(959/zoom, 704/zoom, 58/zoom, 58/zoom, "/img/women.png", 0, 0, 0, tocolor(0, 0, 0, current_alpha or self.inPosition(959/zoom, 705/zoom, 58/zoom, 58/zoom) and 200 or 255), false)
  272.                         dxDrawImage(959/zoom, 706/zoom, 58/zoom, 58/zoom, "/img/women.png", 0, 0, 0, tocolor(0, 0, 0, current_alpha or self.inPosition(959/zoom, 705/zoom, 58/zoom, 58/zoom) and 200 or 255), false)
  273.                     end
  274.                     dxDrawImage(901/zoom, 705/zoom, 58/zoom, 58/zoom, "/img/men.png", 0, 0, 0, tocolor(255, 255, 255, current_alpha or self.inPosition(901/zoom, 705/zoom, 58/zoom, 58/zoom) and 200 or 255), false)
  275.                     dxDrawImage(959/zoom, 705/zoom, 58/zoom, 58/zoom, "/img/women.png", 0, 0, 0, tocolor(255, 255, 255, current_alpha or self.inPosition(959/zoom, 705/zoom, 58/zoom, 58/zoom) and 200 or 255), false)
  276.                     edit:customEditboxSetText('LOGGING-LOGIN', edit:getCustomEditboxText('LOGGING-LOGIN'):gsub("[^%w%b-.]", ""))
  277.                 elseif (current_view=="rules") then
  278.                     dxDrawText(rules, 610/zoom, 430/zoom, 1309/zoom, 848/zoom, tocolor(255, 255, 255, current_alpha or 255), 1.00, dxfont0_AkrobatLight, "center", "top", false, false, false, false, false)
  279.                 end
  280.             end
  281.         end
  282.         self.wycisz = function(dzwiek)
  283.             local level=dzwiek.volume
  284.             if level>0 then
  285.                 dzwiek:setVolume(level-0.03)
  286.                 setTimer(self.wycisz, 50, 1, dzwiek)
  287.             else
  288.                 dzwiek:destroy()
  289.             end
  290.         end
  291.         self.savePassword = function(l,h)
  292.             if not File.exists("cache.mp4") then
  293.                 local file=File.new("cache.mp4")
  294.                 if file then
  295.                     str=l..";"..teaEncode(h, string.reverse("6N5u7MCtZgpDDs3PbJVvJKbzuDk"))..""
  296.                     str=teaEncode(str, "6N5u7MCtZgpDDs3PbJVvJKbzuDk")
  297.                     if not file:write(str) then
  298.                         File.delete("cache.mp4")
  299.                     end
  300.                     file:close()
  301.                 end
  302.             end
  303.         end
  304.         self.loadSavedAccount = function()
  305.             if File.exists("cache.mp4") then
  306.                 file = File.open("cache.mp4")
  307.                 if not file then return end
  308.                 txt = file:read(file.size) or ""
  309.                 txt=teaDecode(txt, "6N5u7MCtZgpDDs3PbJVvJKbzuDk")
  310.                 local tabela=split(txt, ";")
  311.                 edit:customEditboxSetText('LOGGING-LOGIN', tabela[1])
  312.                 edit:customEditboxSetText('LOGGING-PASSWORD', teaDecode(tabela[2], string.reverse("6N5u7MCtZgpDDs3PbJVvJKbzuDk")))
  313.                 save_password=true
  314.                 file:close()
  315.             end
  316.         end
  317.         self.deleteSavedPassword = function()
  318.             if File.exists("cache.mp4") then
  319.                 File.delete("cache.mp4")
  320.             end
  321.         end
  322.         self.successful = function(save_psswd,l,h)
  323.             edit:customEditboxSetAlpha('LOGGING-LOGIN', 0)
  324.             edit:customEditboxSetAlpha('LOGGING-PASSWORD', 0)
  325.             Timer(function()
  326.                 showChat(true)
  327.                 edit:destroyCustomEditbox('LOGGING-LOGIN')
  328.                 edit:destroyCustomEditbox('LOGGING-PASSWORD')
  329.                 removeEventHandler("onClientRender", root, self.render)
  330.                 removeEventHandler("onClientClick", root, self.onClick)
  331.                 removeEventHandler("onClientPreRender", root, self.camRender)
  332.                 self.wycisz(intro)
  333.                 showCursor(false)
  334.                 setCameraTarget(localPlayer)
  335.                 if save_psswd then
  336.                     self.deleteSavedPassword()
  337.                     self.savePassword(l,h)
  338.                 else
  339.                     self.deleteSavedPassword()
  340.                 end
  341.                 blurShader:destroy()
  342.                 setPlayerHudComponentVisible("radar", true)
  343.                 setPlayerHudComponentVisible("crosshair", true)
  344.                 triggerEvent("rpg:noti", localPlayer, "info", "Pomyślnie zalogowano do gry!")
  345.             end, 50, 1)
  346.         end
  347.         if not edit:isCustomEditboxCreated('LOGGING-PASSWORD') then
  348.             edit:createCustomEditbox('LOGGING-LOGIN', '', 737/zoom, 546/zoom, 454/zoom, 44/zoom, false, '', 14)
  349.             edit:createCustomEditbox('LOGGING-PASSWORD', '', 737/zoom, 649/zoom, 454/zoom, 44/zoom, true, '', 40)
  350.         end
  351.         fadeCamera(true)
  352.         showCursor(true)
  353.         showChat(false)
  354.         screenSource = dxCreateScreenSource(screenWidth, screenHeight)
  355.         blurShader = dxCreateShader("shaders/blur.fx")
  356.         setFarClipDistance(1000)
  357.         addEventHandler("onClientRender", root, self.render)
  358.         addEventHandler("onClientClick", root, self.onClick)
  359.         setPlayerHudComponentVisible("all",false)
  360.         self.loadSavedAccount()
  361.         --edit:createEditBox('LOGGING-LOGIN', 737/zoom, 546/zoom, 454/zoom, 44/zoom, false, "", false, 15, "arial", true, 3, { 0, 0, 0, 180 }, true, { 255, 255, 255, 0 }, 2, true, 60, true, "", { 0, 0, 0, 255 }, true, 5, "arial", true, true, {0, 114, 210, 255}, true)
  362.         --edit:createEditBox('LOGGING-PASSWORD', 737/zoom, 649/zoom, 454/zoom, 44/zoom, false, "", false, 48, "arial", true, 3, { 0, 0, 0, 180 }, true, { 255, 255, 255, 0 }, 2, true, 60, true, "", { 0, 0, 0, 255 }, true, 5, "arial", true, true, {0, 114, 210, 255}, true)  
  363.         self.smoothMoveCamera(1.22937011719, 2501.9123535156, 155.541263580322, 366.80487060547, 2505.2980957031, 1.64319610596, -1652.9017333984, 2702.9978027344, 141.80680847168, -1510.9653320313, 2640.2353515625, 90.090293884277, 90000)
  364.         addEventHandler("onClientPreRender", root, self.camRender)
  365.         addEventHandler("logging:successful", localPlayer, self.successful)
  366.         addEventHandler("logging:alert", localPlayer, self.error)
  367.         intro=Sound("sounds/intro.mp3", true)
  368.     end,
  369. };
  370.  
  371. if not localPlayer:getData("user:uid") then
  372.     local login_instance=login_client();
  373. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement