greenops011 Posted April 26, 2018 Share Posted April 26, 2018 Suggestion for (MTA, Forum, website): MTASuggestion: Create a script so that whenever someone attempts to use the /me command, it automatically sends the user a message saying "The server management has disabled the use of the /me command"Why should this be added?: As this is not a roleplay server, there isn't really any need for this command to be activeAnything else you'd like to add?: Disabling this may also help cut down on unintentional keybind spam, including spam in other languages. I was looking through the MTA wiki, and from everything I read, it should definately be possible to block the message from going to the chatbox, and sending a predefined message to the player Link to comment Share on other sites More sharing options...
SCPD Posted April 27, 2018 Share Posted April 27, 2018 Some players might still wanna stretch out for a bit of realism tho. For instance:[me=SCPD]writes a ticket worth $200 for speeding.[/me] Link to comment Share on other sites More sharing options...
greenops011 Posted April 27, 2018 Author Share Posted April 27, 2018 Some players might still wanna stretch out for a bit of realism tho. For instance:[me=SCPD]writes a ticket worth $200 for speeding.[/me] So do what I do:/c I've issued [insert offenders name here] a citation for [insert amound] for [insert reason] Link to comment Share on other sites More sharing options...
Redziczektaki Posted April 27, 2018 Share Posted April 27, 2018 Some players might still wanna stretch out for a bit of realism tho. For instance:[me=SCPD]writes a ticket worth $200 for speeding.[/me] So, we can put the option of enabling showing /me in /settings. Link to comment Share on other sites More sharing options...
greenops011 Posted April 27, 2018 Author Share Posted April 27, 2018 here is the solution. courtesy of : https://forum.mtasa.com/topic/31270-me/ addEventHandler('onPlayerChat', root, function(message, type) if type == 1 then -- /me action cancelEvent() end end) Link to comment Share on other sites More sharing options...
Blast3r Posted April 28, 2018 Share Posted April 28, 2018 here is the solution. courtesy of : https://forum.mtasa.com/topic/31270-me/ addEventHandler('onPlayerChat', root, function(message, type) if type == 1 then -- /me action cancelEvent() end end) I know how to script, thank you very much. Here's another courtesy of me, moved to denied. Link to comment Share on other sites More sharing options...
Recommended Posts