iSmokee Posted October 19, 2014 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)
Tomas Posted October 19, 2014 Posted October 19, 2014 dxDrawRectangle Ya sabes, el 99.9% con IVA incluído Currently developing for International Gaming Community - Join us!
iSmokee Posted October 19, 2014 Author Posted October 19, 2014 Censurado 19/10/2014 17:40 By .:CiBeR:.
Tomas Posted October 19, 2014 Posted October 19, 2014 Censurado 19/10/2014 17:40 By .:CiBeR:. Currently developing for International Gaming Community - Join us!
iSmokee Posted October 19, 2014 Author Posted October 19, 2014 Censurado 19/10/2014 17:40 By .:CiBeR:.
iSmokee Posted October 19, 2014 Author Posted October 19, 2014 Censurado 19/10/2014 17:40 By .:CiBeR:.
Tomas Posted October 19, 2014 Posted October 19, 2014 Censurado 19/10/2014 17:40 By .:CiBeR:. Currently developing for International Gaming Community - Join us!
MTA Team 0xCiBeR Posted October 19, 2014 MTA Team Posted October 19, 2014 Post Cerrado. DevOps Engineer, Cloud Advocate & Security Engineer(Red Team) | Coffee, Containers & Burp
Recommended Posts