Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Decompiled using luadec 2.1 UNICODE by sztupy (http://winmo.sztupy.hu) and viruscamp
- -- Command line was: dec/tour.luac
- local screenWidth, screenHeight = guiGetScreenSize()
- createTextBox1 = function()
- -- upvalues: screenWidth , screenHeight
- local Zeile1 = "Willkommen auf Vio Reallife"
- local Zeile2 = "Ziel dieser Tour ist es: Euch einen perfekten"
- local Zeile3 = "Einstieg in euer Vio-Leben zu schaffen."
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 188, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 185, screenWidth, screenHeight, tocolor(0, 255, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 153, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 150, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 123, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 120, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- setCameraMatrix(-1230.6999511719, 940.40002441406, 90.89999389648, -1531.0999755859, 687.40002441406, 30.099998474121)
- end
- createTextBox2 = function()
- -- upvalues: screenWidth , screenHeight
- local Zeile1 = "Es werden Dinge gezeigt wie:"
- local Zeile2 = "Wo ist was / Wie starte ich richtig"
- local Zeile3 = "Wo bekomme ich Hilfe / Fahrzeugsystem"
- local Zeile4 = "Womit verdient man Geld / Unsere Serverregeln"
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 188, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 185, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 153, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 150, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 123, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 120, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile4, screenWidth / 12, screenHeight - 83, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile4, screenWidth / 12, screenHeight - 80, screenWidth, screenHeight, tocolor(255, 0, 0, 255), 1, "bankgothic")
- end
- createTextBox3 = function()
- -- upvalues: screenWidth , screenHeight
- local Zeile1 = "Hier sehen wir den Supermarkt,"
- local Zeile2 = "er ist zu gleich der Startpunkt von neuen Spielern"
- local Zeile3 = "Es ist eine No DM Zone ! "
- local Zeile4 = "Mehr zu No DM Zonen findest du im Forum"
- setCameraMatrix(-2516.1999511719, 797.79998779297, 54.799999237061, -2457.6000976563, 773.90002441406, 34.799999237061)
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 188, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 185, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 153, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 150, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 123, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 120, screenWidth, screenHeight, tocolor(255, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile4, screenWidth / 12, screenHeight - 83, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile4, screenWidth / 12, screenHeight - 80, screenWidth, screenHeight, tocolor(255, 0, 0, 255), 1, "bankgothic")
- end
- createTextBox4 = function()
- -- upvalues: screenWidth , screenHeight
- local Zeile1 = "Das ist das Vio Rathaus"
- local Zeile2 = "Scheine wie Fuehrerschein kann man hier beantragen"
- local Zeile3 = "Es gibt zusetztlich noch eine JobHilfe"
- setCameraMatrix(-2708.1999511719, 378.29998779297, 13.89999961853, -2765.8999023438, 375.60000610352, 6)
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 188, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 185, screenWidth, screenHeight, tocolor(0, 0, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 153, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 150, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 123, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 120, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- end
- createTextBox5 = function()
- -- upvalues: screenWidth , screenHeight
- local Zeile1 = "Ein beginner Job ist zB. Der Bauarbeiterjob"
- local Zeile2 = "Anlagen warten / Bagger fahren / Zement ausliefern"
- local Zeile3 = "Mit steigender Erfahrung steigt auch der Verdienst"
- setCameraMatrix(911.79998779297, 842.09997558594, 44.299999237061, 819.70001220703, 857.90002441406, 11.699999809265)
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 188, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 185, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 153, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 150, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 123, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 120, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- end
- createTextBox6 = function()
- -- upvalues: screenWidth , screenHeight
- local Zeile1 = "Noch einer von Insgesammt 11 Jobs. Der Truckerjob"
- local Zeile2 = "Versorge das Hotel und andere mit Pizzen"
- local Zeile3 = "Transpotiere Gefahrengut sicher durch Vio"
- setCameraMatrix(-1820, 173.60000610352, 25.5, -1828.5, 101.19999694824, 14.800000190735)
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 188, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 185, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 153, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 150, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 123, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 120, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- end
- createTextBox7 = function()
- -- upvalues: screenWidth , screenHeight
- local Zeile1 = "Das Wangcars Autohaus"
- local Zeile2 = "Autos ab 750$ gibt es hier zu kaufen"
- local Zeile3 = "Somit besonders geeignet fuer Beginner"
- setCameraMatrix(-2017.0999755859, 239.89999389648, 40.799999237061, -1969.0999755859, 296.60000610352, 34.799999237061)
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 188, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 185, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 153, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 150, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 123, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 120, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- end
- createTextBox8 = function()
- -- upvalues: screenWidth , screenHeight
- local Zeile1 = "Sobald du dir ein Auto gekauft hast erscheint es hier hinten."
- local Zeile2 = "Es ist wichtig, dass du die Parkregeln kennst."
- local Zeile3 = "Damit kannst du sicherstellen, dass dein Auto nicht entfernt wird."
- setCameraMatrix(-1916.0999755859, 239.89999389648, 51.5, -1939.0999755859, 276.29998779297, 40.700000762939)
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 188, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 185, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 153, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 150, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 123, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 120, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- end
- createTextBox9 = function()
- -- upvalues: screenWidth , screenHeight
- local Zeile1 = "Hier befinden sich zB. Parkmoeglichkeiten"
- local Zeile2 = "Du kannst dein Auto an solchen Stellen problemlos"
- local Zeile3 = "mit /park parken und es mit /towveh [SLOT] respawnen"
- setCameraMatrix(-2157.8999023438, 309.60000610352, 49.700000762939, -2238.1999511719, 289.60000610352, 35)
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 188, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 185, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 153, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 150, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 123, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 120, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- end
- createTextBox10 = function()
- -- upvalues: screenWidth , screenHeight
- local Zeile1 = "Diese Schilder zeigen dir,"
- local Zeile2 = "dass es sich um keinen Parkplatz handelt."
- local Zeile3 = "Stellst du dein Auto trotzdem dort ab, kann es entfernt werden."
- setCameraMatrix(-2430.3999023438, 803.79998779297, 36, -2430.6000976563, 797.59997558594, 36.099998474121)
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 188, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 185, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 153, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 150, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 123, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 120, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- end
- createTextBox11 = function()
- -- upvalues: screenWidth , screenHeight
- local Zeile1 = "Das SAPD sorgt auf Vio fuer Recht und Ordnung"
- local Zeile2 = "Es ist eine der 3 Dienststellen gegen Gewalt auf Vio"
- local Zeile3 = "Im Innenraum findest du mehr Infos. Klicke einfach auf den Cop"
- setCameraMatrix(-1571, 749.40002441406, 13.60000038147, -1605.4000244141, 711.29998779297, 13.5)
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 188, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile1, screenWidth / 12, screenHeight - 185, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 153, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile2, screenWidth / 12, screenHeight - 150, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 123, screenWidth, screenHeight, tocolor(0, 0, 0, 255), 1, "bankgothic")
- dxDrawText(Zeile3, screenWidth / 12, screenHeight - 120, screenWidth, screenHeight, tocolor(255, 255, 255, 255), 1, "bankgothic")
- end
- Startbox1 = function()
- -- upvalues: screenWidth , screenHeight
- if screenWidth <= 800 and screenHeight <= 600 then
- infobox("Achtung deine\nAufloesung ist sehr\nniedrig, es kann sein\ndass nicht alles\nangezeigt wird!", 9000, 125, 0, 0)
- end
- addEventHandler("onClientRender", root, createTextBox1)
- setTimer(killBox1, 10000, 1)
- end
- addEvent("onTourGetStarted", true)
- addEventHandler("onTourGetStarted", getRootElement(), Startbox1)
- Startbox2 = function()
- addEventHandler("onClientRender", root, createTextBox2)
- setTimer(killBox2, 10000, 1)
- end
- Startbox3 = function()
- addEventHandler("onClientRender", root, createTextBox3)
- setTimer(killBox3, 20000, 1)
- end
- Startbox4 = function()
- addEventHandler("onClientRender", root, createTextBox4)
- setTimer(killBox4, 20000, 1)
- end
- Startbox5 = function()
- addEventHandler("onClientRender", root, createTextBox5)
- setTimer(killBox5, 20000, 1)
- end
- Startbox6 = function()
- addEventHandler("onClientRender", root, createTextBox6)
- setTimer(killBox6, 20000, 1)
- end
- Startbox7 = function()
- addEventHandler("onClientRender", root, createTextBox7)
- setTimer(killBox7, 20000, 1)
- end
- Startbox8 = function()
- addEventHandler("onClientRender", root, createTextBox8)
- setTimer(killBox8, 20000, 1)
- end
- Startbox9 = function()
- addEventHandler("onClientRender", root, createTextBox9)
- setTimer(killBox9, 20000, 1)
- end
- Startbox10 = function()
- addEventHandler("onClientRender", root, createTextBox10)
- setTimer(killBox10, 20000, 1)
- end
- Startbox11 = function()
- addEventHandler("onClientRender", root, createTextBox11)
- setTimer(killBox11, 20000, 1)
- end
- killBox1 = function()
- removeEventHandler("onClientRender", getRootElement(), createTextBox1)
- setTimer(Startbox2, 1000, 1)
- end
- killBox2 = function()
- removeEventHandler("onClientRender", getRootElement(), createTextBox2)
- setTimer(Startbox3, 1000, 1)
- end
- killBox3 = function()
- removeEventHandler("onClientRender", getRootElement(), createTextBox3)
- setTimer(Startbox4, 1000, 1)
- end
- killBox4 = function()
- removeEventHandler("onClientRender", getRootElement(), createTextBox4)
- setTimer(Startbox5, 1000, 1)
- end
- killBox5 = function()
- removeEventHandler("onClientRender", getRootElement(), createTextBox5)
- setTimer(Startbox6, 1000, 1)
- end
- killBox6 = function()
- removeEventHandler("onClientRender", getRootElement(), createTextBox6)
- setTimer(Startbox7, 1000, 1)
- end
- killBox7 = function()
- removeEventHandler("onClientRender", getRootElement(), createTextBox7)
- setTimer(Startbox8, 1000, 1)
- end
- killBox8 = function()
- removeEventHandler("onClientRender", getRootElement(), createTextBox8)
- setTimer(Startbox9, 1000, 1)
- end
- killBox9 = function()
- removeEventHandler("onClientRender", getRootElement(), createTextBox9)
- setTimer(Startbox10, 1000, 1)
- end
- killBox10 = function()
- removeEventHandler("onClientRender", getRootElement(), createTextBox10)
- setTimer(Startbox11, 1000, 1)
- end
- killBox11 = function()
- removeEventHandler("onClientRender", getRootElement(), createTextBox11)
- triggerServerEvent("ontourfinish", getLocalPlayer())
- end
Advertisement
Add Comment
Please, Sign In to add comment