YS

Script .. Ajuda.

Por Ystifler, 27 de fev. de 2010 em Archived

script
5
708
YstiflerY
27 de fevereiro de 2010 às 16:37

Tipow, estou com um Script de Promotion Aqui ..

 

Mais Está Dando um Erro .. Ai Uma SS'

 

sakaae.jpg

 

Alguem Sabe Que Erro é Esse? Ai o Script \/

 

--*Config

--Nível da promotion

PromoLevel = 2

--Mensagem que será enviada ao player

Msg = "Você ganhou sua Segunda Promocao."

 

function onUse(cid, item, frompos, item2, topos)

if getPlayerPromotionLevel(cid) < PromoLevel then

doPlayerSetPromotionLevel(cid, PromoLevel)

doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, Msg)

else

doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "sorry.")

end

return true

end

 

è issu ai Galera quem poder ajudar, por favor :*

VildenV
27 de fevereiro de 2010 às 16:45
--*Config

--Nível da promotion

PromoLevel = 2

--Mensagem que será enviada ao player

Msg = "Você ganhou sua Segunda Promocao."

 

function onUse(cid, item, frompos, item2, topos)

if getPlayerPromotionLevel(cid) < PromoLevel then

doPlayerSetPromotionLevel(cid, 2)

doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, Msg)

else

doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "sorry.")

end

return true

end

 

 

Tenta assim colocando o level direto na ação..

 

tenta muda a linha 9 dps para

setPlayerPromotionLevel(cid, 2)

Editado Fevereiro 27 por Vilden

satan666S
27 de fevereiro de 2010 às 21:10

isso quer dizer que ouve um erro ao chamar a função setpromot~()...

aparentemente não existe a função que foi chamada ou ainda não foi carregada a função.

YstiflerY
28 de fevereiro de 2010 às 01:40

èh, Tipow .. è issu Mermo ..

 

eu Troquei de Otserv Aqui .. Funfo na Boa..

 

Mais Valeu aii . =D'

tibiaa4eT
28 de fevereiro de 2010 às 12:04

Dúvida Sanada

Tópico Fechado