Ir para conteúdo

Featured Replies

Postado

<?xml version="1.0" encoding="UTF-8"?>

<creaturescripts>

<event type="login" name="PlayerLogin" event="script" value="login.lua"/>

<event type="look" name="respectLook" event="script" value="respect_system.lua"/> -->

<!-- zombie event -->

<event type="think" name="ZombieThink" event="script" value="zombie/onthink.lua"/>

<event type="statschange" name="ZombieAttack" event="script" value="zombie/onattack.lua"/>

<event type="death" name="ZombieDeath" event="script" value="zombie/ondeath.lua"/>

<event type="kill" name="task_count" script="taskcount.lua"/>

<event type="login" name="Out" script="Vocation_Outfit.lua"/>

<event type="advance" name="VocationsGain" event="script" value="vocationsgain.lua"/>

<event type="joinchannel" name="GuildMotd" event="script" value="guildmotd.lua"/>

<event type="reportbug" name="SaveReportBug" script="reportbug.lua"/>

<event type="think" name="Idle" event="script" value="idle.lua"/>

<event type="death" name="PlayerDeath" event="script" value="playerdeath.lua"/>

<event type="kill" name="pvpArena" event="script" value="pvparena.lua"/>

<event type="attack" name="attackguild" script="attackguild.lua"/>

<event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/>

</creaturescripts>

desculpe naun sei coloca e code.e para

Só clicar na nuvenzinha ou no <> pra por:


<?xml version="1.0" encoding="UTF-8"?>

<creaturescripts>

<event type="login" name="PlayerLogin" event="script" value="login.lua"/>

   <event type="look" name="respectLook" event="script" value="respect_system.lua"/> -->

<!-- zombie event -->

<event type="think" name="ZombieThink" event="script" value="zombie/onthink.lua"/>

<event type="statschange" name="ZombieAttack" event="script"	 value="zombie/onattack.lua"/>

<event type="death" name="ZombieDeath" event="script" value="zombie/ondeath.lua"/>

   <event type="kill" name="task_count" script="taskcount.lua"/>

<event type="login" name="Out" script="Vocation_Outfit.lua"/>

<event type="advance" name="VocationsGain" event="script" value="vocationsgain.lua"/>

<event type="joinchannel" name="GuildMotd" event="script" value="guildmotd.lua"/>

<event type="reportbug" name="SaveReportBug" script="reportbug.lua"/>

<event type="think" name="Idle" event="script" value="idle.lua"/>

<event type="death" name="PlayerDeath" event="script" value="playerdeath.lua"/>

<event type="kill" name="pvpArena" event="script" value="pvparena.lua"/>

<event type="attack" name="attackguild" script="attackguild.lua"/>

<event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/>

</creaturescripts>

(1º) | [8.60] - Galaxy Server - Download

(2º) | [8.60] - Glorious Server - Download

(3º) | [8.60] - Epic Server - Download

  • Respostas 20
  • Visualizações 1.1k
  • Created
  • Última resposta

Top Posters In This Topic

Postado
  • Autor

pvparena.lua


function onKill(cid, target)

local from,to = {x = 1250, y = 691, z = 6},{x = 1260, y = 724, z = 6}

if isPlayer(cid) and isPlayer(target) and isInRange(getCreaturePosition(target), from, to) then

doCreatureSetSkullType(target, 3)

end

return true

end

taskcount.lua

function onKill(cid, target)

if(isMonster(target) == TRUE) then

local n = getCreatureName(target)

local name_monster = tasktabble[string.lower(n)]

if(name_monster and getPlayerStorageValue(cid,name_monster.storage_start) >= 1) then

local contagem = getPlayerStorageValue(cid, name_monster.storage)

if (contagem == -1) then contagem = 1 end

if not tonumber(contagem) then return true end

if contagem > name_monster.count then return true end

setPlayerStorageValue(cid, name_monster.storage, contagem+1)

if contagem == name_monster.count then

doPlayerSendTextMessage(cid, 18, "Parabéns! Você terminou a tarefa de "..n)

end

end

end

return TRUE

end


Lembrado esses creature.xml e script foi do meu server 8.60.

quando de update agora pouco coloquei as pasta do 8.60 antigo nessse novo 8.70.

eu deixei as pasta original do 8.70 creature mais fik do mesmo jeito com esse bug.agora a creature do 8.70 naun tem esssa pasta

pvp arena

taskcount

mais o creature que esta agora e um antigo

Editado por josedb9 (veja o histórico de edições)

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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo