Jump to content

No crea el texto


Javier

Recommended Posts

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
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...