Postado Agosto 24, 2012 12 anos Eaai Galera , Fmz? entaao eu queria um script que fosse assim... queria por um bau no templo.. dai quando player fosse subindo os levels ele ganharia itens... tal lvl tal item.. eh isso... itens que voces acharem bom soh por. obrigado!
Postado Agosto 25, 2012 12 anos function onUse(cid,item,position,item2,fromPosition) premmy = { --level --id do premio--quantia--storage [10] = {id=2160,quanty=1,stor = 1010}, [20] = {id=2160,quanty=1,stor = 1011} } local Tn = premmy[getPlayerLevel(cid)] if getPlayerStorageValue(cid,Tn.stor) == 1 then return doPlayerSendTextMessage(cid,27,"Sorry you have found chest, now in next level") end if Tn then doPlayerAddItem(cid,Tn.id,Tn.quanty) setPlayerStorageValue(cid,Tn.stor,1) else doPlayerSendTextMessage(cid,27,"Sorry you dont have level") end return true end Editado Agosto 25, 2012 12 anos por Latoy (veja o histórico de edições)
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.