Hey im trying to make a thing that will like do a gm talk thing in the middle of the screen but without a gm or anything saying it like an auto saying thing is that.
Printable View
Hey im trying to make a thing that will like do a gm talk thing in the middle of the screen but without a gm or anything saying it like an auto saying thing is that.
Are you coding from scratch or working with a released source? Because some sources already got that in them, mostly under /gm "Message".
omfg how could you make a private server from scatch you know what here comes chris101 source u guys will be saying omfg im usin this
"How embarrising" -Yoda
if [message != "/gmtalk"];
msg.Add="ALL";
msg.Add="AllChars";
msg.finish();
break;
I don't know if that's how you do your commands, but that's how I do mine in my custom source I built, but something like that.
is that a script engine or something? cause that was so far off the correct syntax for C# != is the wrong operator for what you're looking for, use == or .equals()
msg.Add woulden't be used as a variable (if this is C# and not a script engine)
I've never seen [ ] be used for anything other than import's for dynamic link libraries. oh and arrays
Liar detected
Crap code too
lmao, this is so far of being C# code O.o