Ir para conteúdo

Posts Recomendados

esse spawn.lua nao muda nada caro amigo, eq o dash advenced os monstros nascem por esse spawn, eq o do dash o genero da mulher fica em transparente que nao detecta skull deve ser esse o erro !

poste o xml do seu bulbasauro aii que eu do um bisu ;9

Só dando uma reduzida no seu script:

function onThink(cid, interval)
local skull, sex = {["male"] = 5, ["female"] = 4}, string.find(getCreatureName(cid), "Male") and "male" or "female"

if string.find(getCreatureName(cid), "Nidoran") then
doCreatureSetSkullType(cid, skull[sex])
else
if getCreatureSkullType(cid) < 4 then
doCreatureSetSkullType(cid, math.random(4,5))
end
end
return true
end

Editado por Byerne

Só dando uma reduzida no seu script:

function onThink(cid, interval)
local skull, sex = {["male"] = 5, ["female"] = 4}, string.find(getCreatureName(cid), "Male") and "male" or "female"

if string.find(getCreatureName(cid), "Nidoran") then
doCreatureSetSkullType(cid, skull[sex])
else
if getCreatureSkullType(cid) < 4 then
doCreatureSetSkullType(cid, math.random(4,5))
end
end
return true
end

 

obrigado =D

  • 3 weeks later...
  • 1 month later...

[27/03/2012 23:07:43] [Warning - Monster::Monster] Unknown event name - Skull

Nao vai sabe porque? mesmo erro que o CrazzyMaster

Editado por Huntre
  • 1 month later...
  • 2 weeks later...
  • 1 month later...
×
×
  • Criar Novo...