Unfortunately im not good creating OTC modules :/I saw something similar in an custom otc module
You must send information by onExtendedOpcode and receive it in the client and add send message
as? idk jkaja
View attachment 75859
partyTables = {}
function onExtendedOpcode(player, opcode, buffer)
if opcode == 14 then
player:sendExtendedOpcode(15, player:getId())
table.insert(partyTables, {name = player:getName(), lvl = player:getLevel(), voc = player:getVocation():getName()})
for v,k in ipairs(partyTables) do
print(""..v.." - "..k.name.." ("..k.lvl..") "..k.voc.." ")
end
end
return true
end
function partyFind()
g_game.talk('Find Party')
local protocolGame = g_game.getProtocolGame()
protocolGame:sendExtendedOpcode(14, 1)
return true
end
