ChicoRDL Posted June 2, 2014 Share Posted June 2, 2014 Hello, I have a question with this Script! When My players die, they die and I see #945000Player, they die and we cant see the hex color in killmessages, we only can see the hex code with nickname!! So, I'm asking per Help! Someone can Edit this Script and change to be allowed Hexcolor show up in Names? Will be My name #970000MadDoG = I want this MadDoG My Script: Well I don't Know what Lua File I need use to modific what I want, So..My Script is the original from MTA! If Someone Help me! I apreciat Alot! Thanks Sorry a few grammar fails Link to comment
Mr_Moose Posted June 2, 2014 Share Posted June 2, 2014 dxDrawText which probably is used by kill messages has support for color codes, all you need to do is to find that function in it and set the colorcodes argument to true according to the description of the function in it's wiki page, good luck. Link to comment
xXMADEXx Posted June 2, 2014 Share Posted June 2, 2014 You could also use: string.gsub ( TheText, "#%x%x%x%x%x%x", "" ) Link to comment
#RooTs Posted June 2, 2014 Share Posted June 2, 2014 try DxColorText --or dxDrawColorText Link to comment
Castillo Posted June 2, 2014 Share Posted June 2, 2014 @LekRoots: There's no need for that, dxDrawText has a colorCoded argument as MrBrutus said. Link to comment
#RooTs Posted June 2, 2014 Share Posted June 2, 2014 I can put in various colors in dxDrawText shows an example of as would? Link to comment
Karuzo Posted June 3, 2014 Share Posted June 3, 2014 I can put in various colors in dxDrawText shows an example of as would? Just use the color argument as has beend said before.. Link to comment
RenanPG Posted June 3, 2014 Share Posted June 3, 2014 I can put in various colors in dxDrawText shows an example of as would? Just use the color argument as has beend said before.. Arguments of dxDrawText. https://wiki.multitheftauto.com/wiki/DxDrawText Link to comment
Karuzo Posted June 3, 2014 Share Posted June 3, 2014 colorCoded: Set to true to enable embedded #FFFFFF color codes. Read carefully.. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now