sim mais qual seria a funçao da pedra a penas verificar se tem lvl 8...naos entendi mto bem???
explique novamente com um pouco mais de clareza!!
info
Grupo: Barão
Registrado: 05/08/10
Posts: 218
Reputação: +86
Gênero: Masculino

sim mais qual seria a funçao da pedra a penas verificar se tem lvl 8...naos entendi mto bem???
explique novamente com um pouco mais de clareza!!
info
Grupo: Campones
Registrado: 19/08/06
Posts: 36
Reputação: 0
Char no Tibia: Tocha azul

Ae pode fexa consegui arruma
ta aqui o script
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.uid == 6747 and getPlayerLevel(cid) == 8 then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "vc tem lvl igual a 8.")
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "vc n tem level igual a 8.")
end
return TRUE
end
Editado Setembro 16 por tochaazul
info
Grupo: Campones
Registrado: 19/08/06
Posts: 36
Reputação: 0
Char no Tibia: Tocha azul
Tentei faze um script que vc clica na pedra e se vc tiver lvl igual 8 vc recebe a mensagem "vc tem lvl igual a 8"
e caso nao tenha lvl igual a 8 vc recebe a mensagem "vc n tem level igual a 8"
[]
Vou com um char level 8 e clico na pedra mas apareçe, vc n tem level igual a 8;
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.uid == 6747 and item.id == 1304 then
getPlayerLevel(cid)
if(PlayerLevel == 8)then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "vc tem lvl igual a 8.")
end
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "vc n tem level igual a 8.")
end
end