[HELP]5165 Source

12/28/2009 23:47 xScott#1
hello, im nab at coding, i wanna know what code to put so that when the item is opened it makes a GM comment to the whole server.
thanks :)
12/29/2009 00:15 Arcо#2
Quote:
Originally Posted by xScott View Post
hello, im nab at coding, i wanna know what code to put so that when the item is opened it makes a GM comment to the whole server.
thanks :)

Do the case in character.cs and do something like oh Idk...
World.SendMsgToAll("GM", "Your Message.", 2011, 0);
I think that's how it will go.
12/29/2009 00:21 xScott#3
Quote:
Originally Posted by Hepatitis C View Post

Do the case in character.cs and do something like oh Idk...
World.SendMsgToAll("GM", "Your Message.", 2011, 0);
I think that's how it will go.
Thats brilliant thanks, and what else so it says their name? like MyClient.MyChar or something? :S
12/29/2009 00:22 Arcо#4
Quote:
Originally Posted by xScott View Post
Thats brilliant thanks, and what else so it says their name? like MyClient.MyChar or something? :S

World.SendMsgToAll("GM", "I hope you enjoy the server" + MyChar.Name + "Have fun!", 2011, 0);

Something like that I would guess, never tried it before.
12/29/2009 00:27 xScott#5
Quote:
Originally Posted by Hepatitis C View Post

World.SendMsgToAll("GM", "I hope you enjoy the server" + MyChar.Name + "Have fun!", 2011, 0);

Something like that I would guess, never tried it before.
doesnt work >< ill mess around with it for abit see if i can get it working :) thanks for your help :D
12/29/2009 00:28 ImmuneOne#6
As guard, Hepatitis C I thought you'd notice this is in the wrong section..
Requesting to move this thread please.
12/29/2009 00:37 Arcо#7
Quote:
Originally Posted by ImmuneOne View Post
As guard, Hepatitis C I thought you'd notice this is in the wrong section..
Requesting to move this thread please.

I did, and I reported it, I just don't feel the need to announce it like every other guard in this section.
12/29/2009 01:06 xScott#8
done it, it was
Code:
World.SendMsgToAll("GM", "I hope you enjoy the server " + Name + " Have fun!", 2011, 0);
xD
12/29/2009 01:24 Arcо#9
Quote:
Originally Posted by xScott View Post
done it, it was
Code:
World.SendMsgToAll("GM", "I hope you enjoy the server " + Name + " Have fun!", 2011, 0);
xD

Kk well glad I could help.
Anymore questions feel free to pm me and I will be glad to help.
12/29/2009 02:11 .Guru#10
Quote:
Originally Posted by xScott View Post
hello, im nab at coding, i wanna know what code to put so that when the item is opened it makes a GM comment to the whole server.
thanks :)
lol arco.. you have to the source send a msg (2000,2005,2011) to the server.
12/29/2009 02:34 Arcо#11
Quote:
Originally Posted by Hepatitis B View Post
lol arco.. you have to the source send a msg (2000,2005,2011) to the server.
Lmao I saw that.
And I think he already solved his problem.
So @ OP,
Is it okay to request close now?
12/29/2009 10:04 Huseby#12
#Moved