Jump to content

Punishment


HurT

Recommended Posts

This is how the colors are chosen in the admin resource:

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

I don't think this can be edited, or maybe you can remove this above code and add custom messages in the admin resource where the muting player action is triggered.

Link to comment
10 hours ago, Gravestone said:

Find the script in which the action of muting the player is coded. There, add an output to the chatbox once muted and remove the above code ^ from messages.xml.

Well I can't find the script who has this action if you can tell me where I can find it?

Link to comment

1. [admin] --> admin --> server.lua --> admin_server.lua:

mdata = reason~="" and ( "" .. reason .. "" ) or "" to mdata = reason~="" and ( "(" .. reason .. ")" ) or ""

2. [admin] --> admin --> conf --> messages.xml 

<all>$player has been muted for $data2 $data</all>

 

Link to comment
8 hours ago, EstrategiaGTA said:

Find it yourself...

Lazy ass detected.

What about helping me instead of this actions?

6 hours ago, 1LoL1 said:

1. [admin] --> admin --> server.lua --> admin_server.lua:

mdata = reason~="" and ( "" .. reason .. "" ) or "" to mdata = reason~="" and ( "(" .. reason .. ")" ) or ""

2. [admin] --> admin --> conf --> messages.xml 

<all>$player has been muted for $data2 $data</all>

 

I didn't got it yet.
Should I replace what you typed in this files?

Or that's what I have to edit?

Between thank's for intersting

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