tochaazul 0 Postado Setembro 16, 2011 Share Postado Setembro 16, 2011 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 Link para o comentário https://xtibia.com/forum/topic/167941-ajuda-script-errado/ Compartilhar em outros sites More sharing options...
Mulizeu 86 Postado Setembro 16, 2011 Share Postado Setembro 16, 2011 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!! Link para o comentário https://xtibia.com/forum/topic/167941-ajuda-script-errado/#findComment-1103721 Compartilhar em outros sites More sharing options...
tochaazul 0 Postado Setembro 16, 2011 Autor Share Postado Setembro 16, 2011 (editado) 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, 2011 por tochaazul Link para o comentário https://xtibia.com/forum/topic/167941-ajuda-script-errado/#findComment-1103723 Compartilhar em outros sites More sharing options...
Posts Recomendados