Loading...   


function event_say(e)

	local pack = Packet(0x18fe, 8, true);
	pack:WriteInt32(0, 0);
	pack:WriteInt32(4, e.self:GetID());
--	pack:WriteInt32(4, 0);

	e.other:QueuePacket(pack);
	pack = Packet(0x75aa, 11, true);
	pack:WriteInt8(0, 1) -- set secondary ID -- must be first
	pack:WriteInt16(1, eq.get_entity_list():GetMobByNpcTypeID(77004):GetID())
	pack:WriteInt8(3, 0)
	pack:WriteInt8(4, 0) -- us
	pack:WriteInt8(6, 100)
	pack:WriteInt8(7, 1) -- secondary
	pack:WriteInt8(8, 20)
	pack:WriteInt8(9, 7) -- xtarget
	pack:WriteInt8(10, 100)
	e.other:QueuePacket(pack)

end

Raw Paste Data