Postado Agosto 17, 2014 10 anos Tenho um ot 8.54, alterei a versão dele para 8.60 e alguns itens dele parou de funcionar.. inclusive o scouter.. que eu quero ajuda hj Scouter serve pra ver as info do jogador.. LEVEL, MANA, LIFE, KI LEVEL, NAME.. Script: function onUse(cid, item, frompos, item2, topos) local health = getCreatureHealth(item2.uid) local mana = getCreatureMana(item2.uid) local nick = getCreatureName(item2.uid) local ki = getPlayerMagLevel(item2.uid) local lvl = getPlayerLevel(item2.uid) local mana = getCreatureMana(item2.uid) local hp = getCreatureHealth(item2.uid) local maxmana = getCreatureMaxMana(item2.uid) local maxhp = getCreatureMaxHealth(item2.uid) doPlayerSendTextMessage(cid,21, 'Nick: '..nick..'') doPlayerSendTextMessage(cid,21, 'Level: '..lvl..'') doPlayerSendTextMessage(cid,21, 'Ki Level: '..ki..'') doPlayerSendTextMessage(cid,21, 'Hp: '..hp..'/'..maxhp..'') doPlayerSendTextMessage(cid,21, 'Ki Points: '..mana..'/'..maxmana..'') return true endfunction onUse(cid, item, frompos, item2, topos) local health = getCreatureHealth(item2.uid) local mana = getCreatureMana(item2.uid) local nick = getCreatureName(item2.uid) local ki = getPlayerMagLevel(item2.uid) local lvl = getPlayerLevel(item2.uid) local mana = getCreatureMana(item2.uid) local hp = getCreatureHealth(item2.uid) local maxmana = getCreatureMaxMana(item2.uid) local maxhp = getCreatureMaxHealth(item2.uid) doPlayerSendTextMessage(cid,21, 'Nick: '..nick..'') doPlayerSendTextMessage(cid,21, 'Level: '..lvl..'') doPlayerSendTextMessage(cid,21, 'Magic Level: '..ki..'') doPlayerSendTextMessage(cid,21, 'Hp: '..hp..'/'..maxhp..'') doPlayerSendTextMessage(cid,21, 'Ki Points: '..mana..'/'..maxmana..'') return true end Ajudem I helped you ? REP +. Att: Abreu
Postado Maio 31, 2015 10 anos amigo é simples em uma parte do seu script tem return trueendfunction onUse(cid, item, frompos, item2, topos) end e function não podem de maneira alguma estar juntas... você deve separa-las return true end function onUse(cid, item, frompos, item2, topos) e pronto script arrumado '-'
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.