#Paper Posted December 16, 2010 Share Posted December 16, 2010 diable the color codes in killmessage text? Link to comment
Arran Posted December 16, 2010 Share Posted December 16, 2010 You want them all to be one colour regardless of their nametag colour or team? Go to killmessages_server.lua and between line 95 and 96 do something like: (assuming you wanted white which is 255, 255, 255) wr,wg,wb,kr,kg,kb = 255,255,255,255,255,255 Link to comment
#Paper Posted December 16, 2010 Author Share Posted December 16, 2010 You want them all to be one colour regardless of their nametag colour or team?Go to killmessages_server.lua and between line 95 and 96 do something like: (assuming you wanted white which is 255, 255, 255) wr,wg,wb,kr,kg,kb = 255,255,255,255,255,255 it show player's name whitout color codes? #ff0000AcitanoX -> AcitanoX? Link to comment
Castillo Posted December 16, 2010 Share Posted December 16, 2010 i think you must edit "killmessages" resource to do that Link to comment
#Paper Posted December 16, 2010 Author Share Posted December 16, 2010 i think you must edit "killmessages" resource to do that i know but what i must do? Link to comment
Aibo Posted December 16, 2010 Share Posted December 16, 2010 add this to killmessages_client.lua killerName = killerName:gsub("#%x%x%x%x%x%x", "") wastedName = wastedName:gsub("#%x%x%x%x%x%x", "") before this: return outputMessage ( {killerName, {"padding",width=3}, {"icon",id=weapon}, {"padding",width=3},{"color",r=wr,g=wg,b=wb}, wastedName}, kr,kg,kb ) Link to comment
Arran Posted December 16, 2010 Share Posted December 16, 2010 *roll eyes* I misunderstood the question. Link to comment
#Paper Posted December 16, 2010 Author Share Posted December 16, 2010 add this to killmessages_client.lua killerName = killerName:gsub("#%x%x%x%x%x%x", "") wastedName = wastedName:gsub("#%x%x%x%x%x%x", "") before this: return outputMessage ( {killerName, {"padding",width=3}, {"icon",id=weapon}, {"padding",width=3},{"color",r=wr,g=wg,b=wb}, wastedName}, kr,kg,kb ) ok ty it works... but i've another problem: why when the players die whit the water show 2 kill msg and when press enter only 1? Link to comment
#Paper Posted December 18, 2010 Author Share Posted December 18, 2010 but i've another problem: why when the players die whit the water show 2 kill msg and when press enter only 1? noone know the solution 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