07-07-2014, 03:44 AM
Alguien me podria dar una mano con la creacion de un plugin, no se bien cuales son las variables basicas ke requiere un plugin..
Intente con algo pero no funciono,, no respondia el cliente al injectarlo o correrlo.
Humildemente pongo el codigo ke estube intentando hacer funcionar ,, pero no pude,,, si no fuera nesesario ke sea plugin ke es lo ke tiene mal como scritp...
Ahora cuando estube leyendo me di cuenta ke kiero usar un comando de plugin como scritp,, y no funciona ^^
Intente con algo pero no funciono,, no respondia el cliente al injectarlo o correrlo.
Humildemente pongo el codigo ke estube intentando hacer funcionar ,, pero no pude,,, si no fuera nesesario ke sea plugin ke es lo ke tiene mal como scritp...
Code:
UseSkill(1601, false, false); -- Fishing
repeat
function OnChatSystemMessage()
if (id == 1449) then -- bit
UseSkill(1602, false, false); -- Reeling
end;
end;
function OnChatSystemMessage()
if (id == 1467) or (id == 1464) or (id == 1466) then -- caused o resisi
UseSkill(1602, false, false); -- Reeling
end;
end;
function OnChatSystemMessage()
if (id == 1468)or(id == 1465) then -- faikl
UseSkill(1603, false, false); -- Pumping
end;
end;
function OnChatSystemMessage()
if (id == 1469) or (id == 1450) or (id == 1458) or (id == 1451) or (id == 1452) then -- caused
UseSkill(1601, false, false); -- Fishing
end;
end;
until false;
Ahora cuando estube leyendo me di cuenta ke kiero usar un comando de plugin como scritp,, y no funciona ^^