Javier Posted November 1, 2012 Share Posted November 1, 2012 local screenWidth, screenHeight = guiGetScreenSize ( ) -- Get the screen resolution (width and height) function nose ( ) local armadura = getPedArmor(source) dxDrawText(armadura,sWidth-200,sHeight-80,sWidth-385,sHeight-8,tocolor(255,255,255,255),0.40,"bankgothic","left","top",false,false,false) end function ver ( ) addEventHandler ( "onClientRender", root, ver ) end addEventHandler ( "onClientResourceStart", resourceRoot, nose ) No crea el texto de la armadura ... Link to comment
Alexs Posted November 1, 2012 Share Posted November 1, 2012 local screenWidth, screenHeight = guiGetScreenSize ( ) -- Get the screen resolution (width and height) function nose ( ) local armadura = getPedArmor(source) dxDrawText(armadura,sWidth-200,sHeight-80,sWidth-385,sHeight-8,tocolor(255,255,255,255),0.40,"bankgothic","left","top",false,false,false) end function ver ( ) addEventHandler ( "onClientRender", root, nose ) end addEventHandler ( "onClientResourceStart", resourceRoot, ver ) Pruebalo así, También me gustaría decirte que hay maneras mas eficientes para hacer estoy en que podrías ocupar menos lineas. Link to comment
Recommended Posts