AHAHHAAHAHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
AHAHHAAH
Beiträge von iRoViX
-
-
dann Reopen?
-
SO ICH BIN HIER UM LEUTE ZU FRAGEN/ SCRIPTER ZU SUCHEN DER MIR HELFEN KANN
-
WOFÜR BIN ICH DENN HIER ERKLÄRT MIR BITTE EINMAL RICHTIG WAS ICH MACHEN MUSS MANN!
-
ich peil es nich
-
Lua
Alles anzeigenlocal webBrowser = createBrowser(screenWidth, screenHeight, true, false) function webBrowserRender() --Render the browser on the full size of the screen. dxDrawImage(0, 0, screenWidth, screenHeight, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true) end addEventHandler("onClientBrowserCreated", video, function() videostart = true loadBrowserURL(video, "https://www.youtube.com/watch?v=pmRgM_yM2cg") end end )
Funktioniert auch nich mann
-
Nein, kein Weißes fenster oder irgendwas nichts passiert
-
Aber, der startet ja nicht mal das Video ;/
Spoiler anzeigen
(<script src="video.lua" type="client"/>) ohne Klammern in META
Spoiler anzeigen
addEventHandler("onClientBrowserCreated", video,
function()
videostart = true
loadBrowserURL(video, "Externer Inhalt www.youtube.comInhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.
end
end
)und das Video als Test aber der Ruft nicht mal das Video auf, und das Zweite ist hab es auch schon in client.lua versucht
ich weiß das ihr denkt ich bin dumm bin ich auch in dem Gebiet -
Ich weiß, Sorry nochmal an euch anderen, das ich euch direkt so Angefahren habe.
-
Danke, fs ich werde es austesten Sorry, das ich gerade so Aggro bin aber pisst halt mega an
-
DANN ERKLÄRT ES MIR MAL VERNÜNFTIG!
-
Ja, aber ich habe das HTML script porn.html xD da steht das drine
--In order to render the browser on the full screen, we need to know the dimensions.local screenWidth, screenHeight = guiGetScreenSize() --Let's create a new browser in remote mode.local webBrowser = createBrowser(screenWidth, screenHeight, false, false) --Function to render the browser.function webBrowserRender() --Render the browser on the full size of the screen. dxDrawImage(0, 0, screenWidth, screenHeight, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true)end --The event onClientBrowserCreated will be triggered, after the browser has been initialized.--After this event has been triggered, we will be able to load our URL and start drawing.addEventHandler("onClientBrowserCreated", webBrowser, function() --After the browser has been initialized, we can load http://www.youtube.com loadBrowserURL(webBrowser, "http://www.youtube.com") --Now we can start to render the browser. addEventHandler("onClientRender", root, webBrowserRender) end)und meine frage war jz wie Binde ich das ein das es auch angezeigt in META is alles eingetragen
-
Natürlich kann ich ein Server LEITEN! amk KÖNNT IHR ES NICHT EINFACH SAGEN IS DAS SO SCHWER?
WOFÜR GIBS DANN DAS FORUM?!
-
so, da stehts FÜR HTML und nicht für mein Login panel Client.lua ...
-
Bitte, Hilft mir -.- Ich kann nicht so Richtig Scripten ;/
-
Bitte, gib mir die Antwort.
-
Danke, FÜR DIE NICHT HILFE
-
Ja wie denn sonst? Helf doch einfach Bitte.
-
is nich alles^^
-
Ich zeige euch einfach meine Client.lua
font1 = guiCreateFont ("font/font.ttf",12)
font2 = guiCreateFont ("font/font.ttf",20)
wdwLogin_Pannel = {}
tabPannel_Main = {}
tab_Login = {}
tab_Register = {}
font = dxCreateFont ("font/font.ttf",30)------------ BG
local sWidth,sHeight = guiGetScreenSize()
local Width,Height = 395,910
local X = (sWidth/2) - (Width/2)
local Y = (sHeight/2) - (Height/2)
local count = 3
local alpha = 0
local move = "positif"
local sX,sY = guiGetScreenSize()
local screenWidth, screenHeight = guiGetScreenSize()
local text = ""
local img = "img/login_bg.png"
local time = getRealTime()
local hours = time.hour
local minutes = time.minute
local second = time.second
bool loadBrowserURL ( browser webBrowser, string url [, string postData = "", bool urlEncoded = true ] )
--local month_ = month [ time.month - 1 ]local loginData = {
loginX = sX*0.6,
registerX = sX,
}function calculateScale()
if sX <= 800 and sY <=600 then
return 0.87
elseif sX<=1024 and sY <=768 then
return 0.3
elseif sX<=1280 and sY <=720 then
return 0.35
elseif sX<=1400 and sY <=900 then
return 0.4
elseif sX<=1650 and sY <=1000 then
return 0.45
else
return 0.5
end
endscale = calculateScale()
function renderLoginInterface()
if move == "positif" then
count = count+1.8
else
count = count-2
endif count <= 255 then alpha = 255*(count/255) end
--dxDrawImage(0,0,sX,sY,"img/login_bg.png",0,0,0,tocolor(255,255,255,255))
--dxDrawImage(0,0,sX,sY,"img/login_bgfinal.png",0,0,0,tocolor(255,255,255,alpha))
-- if alpha == 255 then alpha = 255 end
--dxDrawText("Actual Time",0,90,screenWidth,screenHeight+1*scale,tocolor(0,0,0,alpha),2,"default-bold","center","top",false,false,true,true)
dxDrawText("#000000T#ff8000ime",0,90,screenWidth,screenHeight*scale,tocolor(0,0,0,alpha),2,"default-bold","center","top",false,false,true,true)
dxDrawText("© #ff8000Copyright -|aTr|-",0,1047,screenWidth,screenHeight+1*scale,tocolor(255,128,0,alpha),0.6,font,"center","top",false,false,true,true)
--dxDrawText("#000000"..hours.."#000000:#ff8800"..minutes,0,115,screenWidth,screenHeight,tocolor(0,0,0,alpha),2,"default-bold","center","top",false,false,true,true)
dxDrawText("#ff8000"..hours.."#000000:#ff8800"..minutes,0,115,screenWidth,screenHeight*scale,tocolor(0,0,0,alpha),2,"default-bold","center","top",false,false,true,true)
--dxDrawText("#ff8800"..month_,0,110,screenWidth,screenHeight,tocolor(0,0,0,alpha),2,"default-bold","center","top",false,false,true,true)
--outputChatBox ( "Local Time: "..hours..":"..minutes )
--dxDrawImage ( 0, 0, 1920, 1200, img, tocolor ( 255, 255, 255, alpha ) )
if count == 2 then
--removeEventHandler("onClientRender",getRootElement(),Draw)
--dxDrawImage(0,0,sX,sY,"img/login_bgfinal.png",0,0,0,tocolor(255,255,255,alpha))
end
if count == 200 then
count = 100
move = "negatif"
end
end
addEventHandler("onClientRender",getRootElement(),renderLoginInterface)-------------BG
function open_log_reg_pannel()
if not(isElement(wdwLogin_Pannel)) thenshowChat(false)
x,y = guiGetScreenSize()
local sWidth,sHeight = guiGetScreenSize()
local Width,Height = 395,910
local X = (sWidth/2) - (Width/2)
local Y = (sHeight/2) - (Height/2)--Image = guiCreateStaticImage( 0, 0, 1920, 1200, "img/login_bg.png", false )
--Image2 = guiCreateStaticImage( 0, 0, 1920, 1200, "img/login_bgfinal.png", false )--guiSetEnabled (Image, false)
--guiSetEnabled (Image2, false)Login_img = guiCreateStaticImage( X, Y*scale + 120, 380, 616, "img/login_window.png", false )
guiSetEnabled (Login_img, false)--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--shLoginLogo = guiCreateLabel( X + 0, Y + 760, 610, 60, "© Copyright Xtreme Skillers 2014", false )--guiLabelSetColor(shLoginLogo,119,153,136)
--guiSetFont (shLoginLogo, font2)
shLogin = guiCreateStaticImage( X + 75, Y*scale + 535, 100, 30, "img/login.png", false )
addEventHandler("onClientGUIClick",shLogin,onClickBtnLogin)
addEventHandler( "onClientMouseEnter",shLogin,LoginSH)
addEventHandler("onClientMouseLeave",shLogin,SErem)edit_Login = guiCreateEdit(X + 69,Y*scale + 363,244,33,"",false)
guiSetFont (edit_Login, font1)
edit_password = guiCreateEdit(X + 69,Y*scale + 418,244,33,"",false)
guiSetFont (edit_password, font1)
guiEditSetMaxLength ( edit_Login,25)
guiEditSetMaxLength ( edit_password,25)
guiEditSetMasked ( edit_password, true )lbl_about_legth = guiCreateLabel(142,70,184,18,"",false)
guiLabelSetColor(lbl_about_legth,0,0,0)
guiLabelSetVerticalAlign(lbl_about_legth,"center")
guiLabelSetHorizontalAlign(lbl_about_legth,"center",false)checkbox_save = guiCreateCheckBox(X + 75,Y*scale + 480,150,20,"Remember me?",false,false)
guiSetFont(checkbox_save,font1)login_tab_error_msg = guiCreateLabel(X,Y*scale + 320,370,40,"Error_login_tab",false)
guiLabelSetColor(login_tab_error_msg,0,0,0)
guiLabelSetVerticalAlign(login_tab_error_msg,"center")
guiLabelSetHorizontalAlign(login_tab_error_msg,"center",false)
guiSetFont(login_tab_error_msg,font1)--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--shGuest = guiCreateStaticImage( X + 370, Y*scale + 150, 30, 30, "img/guest.png", false ) -- A gomb
--addEventHandler("onClientGUIClick",shGuest,onClickGuest)
--addEventHandler( "onClientMouseEnter",shGuest,GuestSH)
--addEventHandler("onClientMouseLeave",shGuest,SErem)lbl_reg_top_info = guiCreateLabel(X - 80,Y*scale + 290,45,255,"",false)
guiLabelSetColor(lbl_reg_top_info,0,0,0)
guiLabelSetVerticalAlign(lbl_reg_top_info,"center")
guiLabelSetHorizontalAlign(lbl_reg_top_info,"center",false)
guiSetVisible(lbl_reg_top_info,false)edit_account_name = guiCreateEdit(X + 69,Y*scale + 362,244,33,"",false)
guiEditSetMaxLength ( edit_account_name,25)
guiSetVisible(edit_account_name,false)
guiSetFont (edit_account_name, font1)edit__reg_tab_password = guiCreateEdit(X + 69,Y*scale + 418,244,33,"",false)
guiEditSetMaxLength ( edit__reg_tab_password,25)
guiEditSetMasked ( edit__reg_tab_password, true )
guiSetVisible(edit__reg_tab_password,false)
guiSetFont (edit__reg_tab_password, font1)edit__reg_tab_Repassword = guiCreateEdit(X + 69,Y*scale + 472,244,33,"",false)
guiSetFont (edit__reg_tab_Repassword, font1)
guiEditSetMaxLength ( edit__reg_tab_Repassword,25)
guiEditSetMasked ( edit__reg_tab_Repassword, true )
guiSetVisible(edit__reg_tab_Repassword,false)
guiSetEnabled (edit__reg_tab_Repassword, true)--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
shRegister = guiCreateStaticImage( X + 210, Y*scale + 535, 100, 30, "img/register.png", false )
addEventHandler("onClientGUIClick",shRegister,OnBtnRegister)
addEventHandler( "onClientMouseEnter",shRegister,RegisterSH)
addEventHandler("onClientMouseLeave",shRegister,SErem)--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
shRegister2 = guiCreateStaticImage( X + 210, Y*scale + 535, 100, 30, "img/register2.png", false )
addEventHandler("onClientGUIClick",shRegister2,onClickBtnRegister)
addEventHandler( "onClientMouseEnter",shRegister2,Register2SH)
addEventHandler("onClientMouseLeave",shRegister2,SErem)guiSetVisible(shRegister2,false)
reg_tab_error_msg = guiCreateLabel(X,Y*scale + 320,370,40,"Error_reg_ttab",false)
guiLabelSetColor(reg_tab_error_msg,0,0,0)
guiLabelSetVerticalAlign(reg_tab_error_msg,"center")
guiLabelSetHorizontalAlign(reg_tab_error_msg,"center",false)
guiSetFont(reg_tab_error_msg,font1)showCursor(true)
guiSetText(reg_tab_error_msg, "")
guiSetText(login_tab_error_msg, "")local username, password = loadLoginFromXML()
if not( username == "" or password == "") then
guiCheckBoxSetSelected ( checkbox_save, true )
guiSetText ( edit_Login, tostring(username))
guiSetText ( edit_password, tostring(password))
else
guiCheckBoxSetSelected ( checkbox_save, false )
guiSetText ( edit_Login, tostring(username))
guiSetText ( edit_password, tostring(password))
end
endend