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
Group: Barão
Joined: 05/08/10
Posts: 218
Reputation: +86
Gender: 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
Group: Campones
Joined: 19/08/06
Posts: 36
Reputation: 0
Tibia Character: 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
Edited Setembro 16 by tochaazul
info
Group: Campones
Joined: 19/08/06
Posts: 36
Reputation: 0
Tibia Character: 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