Klesh Posted January 22, 2012 Share Posted January 22, 2012 Hello, im make my killmessages in hexadecimal color but the problem is the space beetwen name and weapon image, i was looking and testing codes and i found something, this is the cause of why that space myText2 = string.gsub(myText, "#%x%x%x%x%x%x", "") There is some way to delete that space? Link to comment
TAPL Posted January 22, 2012 Share Posted January 22, 2012 are you using killmessages export ? i remember that is possible to set the space (width) between the name and the weapon image Example exports.killmessages:outputMessage ({"Player1",{"padding",width=5},{"icon",id=31},{"padding",width=5},{"color",r=255,g=255,b=10},"Player2" },root,255,0,0) Link to comment
Klesh Posted January 22, 2012 Author Share Posted January 22, 2012 Width doesn't change any space betwen the name and the weapon image. Link to comment
DNL291 Posted January 24, 2012 Share Posted January 24, 2012 Maybe you should not have hidden the hexadecimal code in the file textlib.lua dxDrawText on line 249' and dxDrawText on line 260' string.gsub(self.strText, '#%x%x%x%x%x%x', '') If does not work, try the line 127 ' and line 271' 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