Postado Julho 7, 2014 10 anos Mi ajudem, meu serve tem um comando chamado /t, esse comando eu gostaria de retirar, por exemplo, mts player "fdps" usam /t , nick da pessoa e fica bugando player, gostaria de remover isso, se alguem sabe mi ajuda ae
Postado Julho 7, 2014 10 anos abre o talkactions.xml e apaga a linha desse comando facebook.com/PokeJota
Postado Julho 7, 2014 10 anos Autor <talkaction log="yes" words="!t;/t" access="no" event="script" value="teleporttown.lua"/> abre o talkactions.xml e apaga a linha desse comando eu nao quero excluir, eu queria editar ele para os player nao teleporta outra pessoa, apenas podesse teleportar ele msm quando tivessem bugados Editado Julho 7, 2014 10 anos por sidneivascao (veja o histórico de edições)
Postado Julho 7, 2014 10 anos Autor poste o script aqui function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.") return true end local tid = cid local t = string.explode(param, ",") if(t[2]) then tid = getPlayerByNameWildcard(t[2]) if(not tid or (isPlayerGhost(tid) and getPlayerGhostAccess(tid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. t[2] .. " not found.") return true end end local tmp = t[1] if(not tonumber(tmp)) then tmp = getTownId(tmp) if(not tmp) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Town " .. t[1] .. " does not exists.") return true end end local pos = getTownTemplePosition(tmp, false) if(not pos or isInArray({pos.x, pos.y}, 0)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Town " .. t[1] .. " does not exists or has invalid temple position.") return true end pos = getClosestFreeTile(tid, pos) if(not pos or isInArray({pos.x, pos.y}, 0)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Destination not reachable.") return true end tmp = getCreaturePosition(tid) if(doTeleportThing(tid, pos, true) and not isPlayerGhost(tid)) then doSendMagicEffect(tmp, CONST_ME_POFF) doSendMagicEffect(pos, CONST_ME_TELEPORT) end return true end
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.