(01-23-2015 20:13 PM)kerberos464 Wrote: [ -> ]nothing of these 2 will not work.
what you need is here (last post):
http://forum.l2tower.eu/thread-summon-by-wynn
________________________________________________
This is the post but I want to know how to do on or a guide no longer works me and I could not understand the steps to run someone talves to understand more of the plugin and where edit this function (nick, id)? etc .. .
I hope your support thanks
function TargetPartyMember(objId)
local packet = PacketBuilder();
packet:AppendInt(0x1F, 1);
packet:AppendInt(objId, 4);
packet:AppendInt(GetMe():GetLocation().X, 4);
packet:AppendInt(GetMe():GetLocation().Y, 4);
packet:AppendInt(GetMe():GetLocation().Z, 4);
packet:AppendInt(0, 1);
SendPacket(packet);
end;
function OnChatUserMessage(chatType, nick, msg)
if (chatType == L2ChatType.CHAT_PARTY and msg == "summon") then
local party = GetPartyList();
for player in party.list do
if (player:GetName() == nick) then
SetTargetManagerState(false);
TargetPartyMember(player:GetId());
UseSkillRaw(11265, false, false); -- Summon Team Mate
SetTargetManagerState(true);
return;
end;
end;
end;
end;