Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void Find(Character victim, string who, int map, sbyte dunno, bool isChannel) {
- PacketWriter pw = new PacketWriter();
- pw.WriteByte(0x2E);
- if (map != -1) {
- pw.WriteByte(0x09);
- pw.WriteMapleString(who);
- if (map == -2) {
- // In cashshop
- pw.WriteByte(0x02);
- }
- else if (isChannel) {
- pw.WriteByte(0x01);
- pw.WriteInt(map);
- pw.WriteInt(0);
- }
- else {
- pw.WriteByte(0x03);
- pw.WriteInt(map);
- }
- pw.WriteInt(0);
- }
- else {
- pw.WriteByte(0x0A);
- pw.WriteMapleString(who);
- pw.WriteSByte(dunno);
- }
- victim.sendPacket(pw);
Add Comment
Please, Sign In to add comment