Jump to content

Admin chat outputs


krYshuT

Recommended Posts

Hello

I want to destroy the HEX codes from player's nicknames in outputs, when someone is mute, kicked, etc.

It's placed in the messages.xml file, so i don't think it works the same way as in the LUA scripting.

Example:

    <group action="ban" r="255" g="0" b="0"> 
      <all>$player has been banned$by_admin_4all. $data2</all> 
      <log>ADMIN: $admin has banned $player $data $data2</log> 
    </group> 
    <group action="kick" r="255" g="0" b="0"> 
      <all>$player has been kicked$by_admin_4all.</all> 
      <log>ADMIN: $admin has kicked $player $data</log> 
    </group> 
    <group action="mute" r="255" g="0" b="0"> 
      <all>$player has been muted$by_admin_4all. $data2</all> 
      <log>ADMIN: $admin has muted $player $data $data2</log> 
    </group> 

What shall I add to destroy the hex codes in game?

Link to comment
  • 1 month later...
  • 4 weeks later...

I think i remember finding the thing that handles this in admin/server/main_xxx.lua - I wanted to make it say

*#ff0000*INFO: #ffff00 $player has been banned.

So i modified that line and hex worked...i will try and see if i can find that line and then you can use your kidney's (or your brain) to figure out how to do what Jockie said, and yes, he does mean that.

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