![]() |
Killall and Mute. - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Killall and Mute. (/showthread.php?tid=2104) |
Killall and Mute. - Nean - 16-09-2008 So these are the two last commands I've been working on. I've been trying to make a killall command, with the /kill command. I was thinking that'd it go like: Code: For I=1 to MAX_PLAYERS And with the mute command. I don't know, I guess I could just add a check to see if the char is muted, right? And if he is, than make it exit the sub on all the different chat types, when it sees they are muted... Right? Re: Killall and Mute. - DarkC - 16-09-2008 Here is a mute tutorial. You can just edit that to fit MS4 or whatever your using... http://web.miragesource.com/old-tutoria ... layer.html And I think your on the right track. Re: Killall and Mute. - William - 16-09-2008 Your on the right way as long as there is a Kill sub. If not you need to create a death sequence. Where the player drops item/or not, looses exp/or not. Etc.. Re: Killall and Mute. - Nean - 17-09-2008 DarkC Wrote:Here is a mute tutorial. You can just edit that to fit MS4 or whatever your using... I followed that, and edited it so that I thought it would work with MS4, but I get this compile error: Code: Method or Data member not found. I think editing this code, is my best bet, as I'm not good enough to write one from scratch. T_T Re: Killall and Mute. - Rian - 17-09-2008 Did you add Mute to the PlayerRec? Re: Killall and Mute. - Nean - 17-09-2008 Sonire Wrote:Did you add Mute to the PlayerRec? I did, on the server side of things, I believe. Mute As Boolean Should I add it to both the Client, and Server? Re: Killall and Mute. - Rian - 17-09-2008 Well yeah, if you have something client side that requires .Mute, then add it to the player rec. If the error is server side, then I'm not too sure. I haven't really delved into MSE4 yet. Re: Killall and Mute. - Nean - 17-09-2008 Still does it, when I added both to playerrec. |