1LoL1 Posted March 7, 2014 Share Posted March 7, 2014 Please help me how do I add a reason when I will mute / kick / ban? Link to comment
WhoAmI Posted March 7, 2014 Share Posted March 7, 2014 Well, if you want kick/ban, do it in admin panel and there you are able to type reason. If you want mute's reason you have to do your own command. Link to comment
1LoL1 Posted March 7, 2014 Author Share Posted March 7, 2014 Well, if you want kick/ban, do it in admin panel and there you are able to type reason.If you want mute's reason you have to do your own command. I think / mute LoL - LoL has been muted by LoL (for reason) Link to comment
WhoAmI Posted March 7, 2014 Share Posted March 7, 2014 Maybe /mute LoL reason. If so, there is an example addCommandHandler ( "mute", function ( player, cmd, name, ... ) local playerElement = getPlayerFromName ( name ) if not isElement ( playerElement ) then return end local text = table.concat ( {...}, " " ) if text == "" then return end setPlayerMuted ( playerElement, true ) outputChatBox ( name.." has been muted, reason: (" .. text ..")." ) end ) /mute LoL flaming And then chatbox will output LoL has been muted, reason: (flaming). Link to comment
1LoL1 Posted March 7, 2014 Author Share Posted March 7, 2014 Maybe /mute LoL reason.If so, there is an example addCommandHandler ( "mute", function ( player, cmd, name, ... ) local playerElement = getPlayerFromName ( name ) if not isElement ( playerElement ) then return end local text = table.concat ( {...}, " " ) if text == "" then return end setPlayerMuted ( playerElement, true ) outputChatBox ( name.." has been muted, reason: (" .. text ..")." ) end ) /mute LoL flaming And then chatbox will output LoL has been muted, reason: (flaming). This can give me always through the admin panel .. no reason .. Link to comment
-.Paradox.- Posted March 7, 2014 Share Posted March 7, 2014 viewtopic.php?f=148&t=65664 Link to comment
1LoL1 Posted March 8, 2014 Author Share Posted March 8, 2014 https://forum.multitheftauto.com/viewtopic.php?f=148&t=65664 I need it to be either through the admin panel or the following "/mute LoL 60 spam" "LoL has been muted by LoL (60 sec) (spam) and this is also the need to kick/ban so please someone to do it for nothing. Link to comment
MIKI785 Posted March 8, 2014 Share Posted March 8, 2014 https://forum.multitheftauto.com/viewtopic.php?f=148&t=65664 I need it to be either through the admin panel or the following "/mute LoL 60 spam" "LoL has been muted by LoL (60 sec) (spam) and this is also the need to kick/ban so please someone to do it for nothing. The linked topic os what you need.. just read it. Also there is already mute command in admin resource, there should be no need to create your own. Link to comment
1LoL1 Posted March 8, 2014 Author Share Posted March 8, 2014 Ok thank you for the help I set it myself 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