iFoReX Posted March 1, 2013 Share Posted March 1, 2013 Porque el edit no aparece ? que tengo que usar en el guiGetScreenSize ( -,+,*,/ ) ?? x,y = guiGetScreenSize() guiCreateEdit(x*0.270, y*0.400,04,01,"",true) addEventHandler("onClientRender",root,function() dxDrawRectangle ( x/2.7, y/2000, x/4, y/1, tocolor ( 0, 0, 0, 150 ) ) dxDrawText("Username", x*0.270, y*0.400, x*0.715, y*0.997, tocolor(255, 255, 255, 255), .6, "bankgothic", "center", "top", false, false, true, true, true) showPlayerHudComponent("all",false) showChat(false) end) Link to comment
Xperia Posted March 2, 2013 Share Posted March 2, 2013 Tambien tienes que multiplicar el tercer y cuarto argumento. guiCreateEdit(x*0.270, y*0.400,04,01,"",true) Link to comment
iFoReX Posted March 2, 2013 Author Share Posted March 2, 2013 x,y = guiGetScreenSize() guiCreateEdit(x*0.270, y*0.400, x*0.715, y*0.997,"",true) addEventHandler("onClientRender",root,function() dxDrawRectangle ( x/2.7, y/2000, x/4, y/1, tocolor ( 0, 0, 0, 150 ) ) dxDrawText("Username", x*0.270, y*0.400, x*0.715, y*0.997, tocolor(255, 255, 255, 255), .6, "bankgothic", "center", "top", false, false, true, true, true) showPlayerHudComponent("all",false) showChat(false) end) sigue sin aparecer :L Link to comment
Recommended Posts