Jump to content

How i can...


#Paper

Recommended Posts

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
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

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
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? xD

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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