HurT Posted September 22, 2016 Share Posted September 22, 2016 How is it possible when you punish a player to be shown like that ( e.g HurT has been muted for 300 secs (Spamming) ) When I punish when it shows like this (e.g HurT muted HurT(2mins) ) Link to comment
Gravestone Posted September 22, 2016 Share Posted September 22, 2016 The message HurT muted HurT(2mins) is by default from the admin resource. You can create your own punishment system and output the text like you want it to be. Link to comment
EstrategiaGTA Posted September 22, 2016 Share Posted September 22, 2016 Edit the admin resource. Link to comment
Gravestone Posted September 22, 2016 Share Posted September 22, 2016 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
HurT Posted September 23, 2016 Author Share Posted September 23, 2016 I will try my best But if anyone can explain more? Link to comment
Gravestone Posted September 23, 2016 Share Posted September 23, 2016 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. Link to comment
HurT Posted September 23, 2016 Author Share Posted September 23, 2016 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
EstrategiaGTA Posted September 24, 2016 Share Posted September 24, 2016 Find it yourself... 1 Link to comment
1LoL1 Posted September 24, 2016 Share Posted September 24, 2016 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
HurT Posted September 24, 2016 Author Share Posted September 24, 2016 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
EstrategiaGTA Posted September 24, 2016 Share Posted September 24, 2016 12 minutes ago, HurT said: Lazy ass detected. What about helping me instead of this actions? What? We have to search for the exact script file for you? Can't you search for it yourself? Link to comment
HurT Posted September 24, 2016 Author Share Posted September 24, 2016 2 hours ago, EstrategiaGTA said: What? We have to search for the exact script file for you? Can't you search for it yourself? Never mind. I noticed that you know it but you don't want to say. Link to comment
1LoL1 Posted September 25, 2016 Share Posted September 25, 2016 12 hours ago, HurT said: Never mind. I noticed that you know it but you don't want to say. Replace. 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