i can`t edit it to work on my source !Quote:
.... pharmacist is just a shop. You open it just like any other shop.
I use talking shop npcs all over my source. It's just a matter of sending general data with data1 as 32 with action type being 160
Seeing as I'm sure people will still be asking me...
That's what I use for my python methods for opening a shop so I can just say OpenShop(1) or w/e the shop id is.Code:scope.SetVariable("OpenShop", new Func<uint, int>(delegate(uint shopID) { Packet.DataPacket pack = new Packet.DataPacket(); pack.Action = Core.Enum.DataAction.OpenUpgrade; pack.Id = user.UID; pack.Data1 = 32; pack.Data3Low = user.X; pack.Data3High = user.Y; pack.Timestamp = shopID; user.Send(pack); return 0; }));
i am still learing C# and i am new , i just need little help with it , or how to modify it to work with my source .