Copia um dos arquivos la no talkactions e renomeia para partyexp e poe isso dentro:
function onSay(cid, words, param, channel) if isInParty(cid) then local party = getPartyMembers(cid) if party[#party] == cid then local sto = getPlayerStorageValue(cid, 4875498) for i = 1, #party do if sto <= -1 then setPlayerStorageValue(party[i], 4875498, 1) doPlayerSendTextMessage(party[i], 20, "The Exp in Party is disabled!") else setPlayerStorageValue(party[i], 4875498, -1) doPlayerSendTextMessage(party[i], 20, "The Exp in Party is enabled!") end end else doPlayerSendTextMessage(cid, 27, "Only the leader of the party can do that!") end else doPlayerSendTextMessage(cid, 27, "You need be a leader of a party to do that!") end return true end
depois va em talkactions.xml, só confirma se tem essa linha lá:
<talkaction words="!partyexp" event="script" value="partyexp.lua"/>







info
Grupo: Infante
Registrado: 27/08/11
Posts: 1.9k
Reputação: +85
Gênero: Masculino
Char no Tibia: Bruno Maciel
Estou com um bug relacionado a party !!
quando coloco o serve online aparece este bug que e da party
Bug
[06/12/2012 14:57:33] [Error - LuaScriptInterface::loadFile] cannot open data/talkactions/scripts/partyexp.lua: No such file or directory
[06/12/2012 14:57:33] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/partyexp.lua)
[06/12/2012 14:57:33] cannot open data/talkactions/scripts/partyexp.lua: No such file or directory
[06/12/2012 14:57:34] [Warning - TalkAction::configureEvent] Duplicate registered talkaction with words: /unban
[06/12/2012 14:57:34] [Warning - Event::loadScript] Event onRemoveItem not found (data/movements/scripts/UniqueItem.lua)
E sobre a script eu fui na pasta talkaction e nao encontrei a script nao sei se e aqui que ta errado ou nao ta la mesmo
=/
Rep++ >> pra quem pude mi ajudar ;D