Jump to content

dxDrawText


MisterZ

Recommended Posts

Posted

Hola ah todos espero que anden bien, Bueno quisiera saber como hacer para que en el dxDrawText no apresca los codigos de colores acá dejo una foto para que entiendan. :D

G8Pylfr.png

  • MTA Team
Posted
bool dxDrawText ( string text, float left, float top [, float right=left, float bottom=top, int color=white, float scale=1, 
                  mixed font="default", string alignX="left", string alignY="top", bool clip=false, bool wordBreak=false, 
                  bool postGUI=false, bool colorCoded=false, bool subPixelPositioning=false, 
                  float fRotation=0, float fRotationCenterX=0, float fRotationCenterY=0 ] ) 

El argumento colorCoded ponlo a true.

Posted
bool dxDrawText ( string text, float left, float top [, float right=left, float bottom=top, int color=white, float scale=1, 
                  mixed font="default", string alignX="left", string alignY="top", bool clip=false, bool wordBreak=false, 
                  bool postGUI=false, bool colorCoded=false, bool subPixelPositioning=false, 
                  float fRotation=0, float fRotationCenterX=0, float fRotationCenterY=0 ] ) 

El argumento colorCoded ponlo a true.

No entendi como hacerlo con eso :S, pero investigando un poco vi que poniendole "true" en el color funciono

"false, false, false, true, false)"

Gracias igual Ciber por responder :D. Ya puedes cerra el post.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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