Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Killall and Mute.
#1
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
Kill(i)
or something like that. Am I on the right track?

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?
Reply
#2
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.
Reply
#3
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..
Reply
#4
DarkC Wrote: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.

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.
and it highlights: .mute

I think editing this code, is my best bet, as I'm not good enough to write one from scratch. T_T
Reply
#5
Did you add Mute to the PlayerRec?
Reply
#6
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?
Reply
#7
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.
Reply
#8
Still does it, when I added both to playerrec.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)