Message

Joined
Jan 11, 2008
Messages
405
Reaction score
0
Hey im trying to add a message for when people open an item but im stuck on this i need help.2 things where to add it it would go under the item id in entries.cs? o yea heres the line
World.SendMsgToAll(MessageId + " Has Open So And So" + MyChar.Name, "SYSTEM", 2011);
 
Yes it need to be added under the item, and i think the line is good,just add it under your item, on entries.cs
 
my solution is : go in client.cs and search for "case 4:"
before:
MyChar.Ready = true;
break;
add:
MyChar.MyClient.SendPacket(General.MyPackets.SendMsg(MyChar.MyClient.MessageId, "SYSTEM", MyChar.Name, "You used a " + TheItem + ".", 2005));

well...this says something like You used a XXXXXX-0-0-0-0-0. (Example)The name will come later XD!
 
Back