iSmokee Posted October 19, 2014 Share Posted October 19, 2014 Hola encontré esto en la parte de scripting en ingles bueno esto es lo que buscaba mi pregunta es como puedo crear mas dxDrawRectangle y moverlos abajo del otro igual con el dxDrawText estuve mas de 3 horas probando cosas y nunca me los movia si alguien me puede ayudar se lo agradecería mucho bueno Gracias local step = 0.05 local x,y = guiGetScreenSize() local sx,sy = 200,40 local px,py = x/2-sx/2,y local progress = 0 function renderWindow() progress = progress + step if progress > 1 then progress = 1 end py = interpolateBetween(y,0,0,y/2-sy/2,0,0,progress,"InOutQuad") dxDrawRectangle(px*0,py,sx,sy,tocolor(0,0,0,170)) dxDrawText("Stats",px*0,py,sx,sy,tocolor(255,255,255,255), 2, "default-bold", "left", "top", false, false, false, false, false) end addEventHandler("onClientRender",getRootElement(),renderWindow) Link to comment
Tomas Posted October 19, 2014 Share Posted October 19, 2014 dxDrawRectangle Ya sabes, el 99.9% con IVA incluído Link to comment
iSmokee Posted October 19, 2014 Author Share Posted October 19, 2014 Censurado 19/10/2014 17:40 By .:CiBeR:. Link to comment
Tomas Posted October 19, 2014 Share Posted October 19, 2014 Censurado 19/10/2014 17:40 By .:CiBeR:. Link to comment
iSmokee Posted October 19, 2014 Author Share Posted October 19, 2014 Censurado 19/10/2014 17:40 By .:CiBeR:. Link to comment
iSmokee Posted October 19, 2014 Author Share Posted October 19, 2014 Censurado 19/10/2014 17:40 By .:CiBeR:. Link to comment
Tomas Posted October 19, 2014 Share Posted October 19, 2014 Censurado 19/10/2014 17:40 By .:CiBeR:. Link to comment
MTA Team 0xCiBeR Posted October 19, 2014 MTA Team Share Posted October 19, 2014 Post Cerrado. Link to comment
Recommended Posts