• Automute in Teamspeak after death in TTT
    4 replies, posted
Hello gmod community, I'm running a TTT Server and I want to create a script that executes an .exe file for the client that just died. The executable just trigger a keypress for the client and so the client mutes himself. (the executable will be distributed to all friends, so they have it locally) I was planning to use the function from the GMod-Wiki "[URL="http://wiki.garrysmod.com/page/GM/PostPlayerDeath"]GM:PostPlayerDeath[/URL]. However "os.execute" is blocked and I dont know how to install those extra modules like "gm_cmd" which seems to be a working extension. Would this be a legit extension that could execute cmd-commands? [URL="https://github.com/Philpax/gm_cmd"]https://github.com/Philpax/gm_cmd[/URL] Can I make this extension work serversided or is it required on every players local GMod installation?
Since the user has to agree to let you run an invasive script for this to work in the first place, why not just have them mute themselves once they die?
Because most of the time people are annoyed by the fact that people call names after their death, so everyone was thinking about an automute function, which seems to be very difficult to create.
I think you can mute clients with clientedit.
Good manual, will look into it. Thanks for the idea.
Sorry, you need to Log In to post a reply to this thread.