Creaturescript não funciona

NewAge
Por NewAge
em Scripts

NewAge

avatar
Artesão
Artesão

INFOS

Grupo: ArtesãoRegistrado: 08/10/12Posts: 114

Montei um script pra quando o jogador evoluir receber uma mensagem, só que não acontece nada. O player evolui, mas não recebe a mensagem.

Alguém pode ajudar? Rep +

 

points.lua

 

function onAdvance(cid, skill, oldLevel, newLevel)
if skill == SKILL__LEVEL then
	if newLevel >= 8 then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Você recebeu cinco stat points. Para checar seus pontos, digite !points")
		end
end
return true
end

Slicer

Insanity
avatar
Príncipe
Príncipe

INFOS

Grupo: PríncipeRegistrado: 19/08/10Posts: 4014Gênero: Masculino

tem q registrar no login.lua ...

registerCreatureEvent(cid, "xxx")

 

xxx eh o name q tu deu para esse creaturescript no creaturescript.xml ..

"Só a beira do abismo que os seres humanos acham forças para mudar."... E isso me da nojo... ¬¬

"Insanity is doing the exact... same fucking thing... over and over again expecting... shit to change... That. Is. Crazy." -Vass/Einstein

 

NewAge

avatar
Artesão
Artesão

INFOS

Grupo: ArtesãoRegistrado: 08/10/12Posts: 114

Valeu Slicer, funcionou. Rep +

pokemonfox123

Mapper/Scripter Sempre as Ordens
avatar
Artesão
Artesão

INFOS

Grupo: ArtesãoRegistrado: 24/10/12Posts: 107Char no Tibia: binhostylle

Topico Fechado Duvida Sanada

Slicer

Insanity
avatar
Príncipe
Príncipe

INFOS

Grupo: PríncipeRegistrado: 19/08/10Posts: 4014Gênero: Masculino

topico fechado? quem eh tu pra fechar topico? LOL

"Só a beira do abismo que os seres humanos acham forças para mudar."... E isso me da nojo... ¬¬

"Insanity is doing the exact... same fucking thing... over and over again expecting... shit to change... That. Is. Crazy." -Vass/Einstein