RO
action

Como fazer uma Quest Vip

Por rorohrodrigues, 02 de jul. de 2013 em Actions e Talkactions

como
fazer
uma
quest
vip
3
1.2k
02 de julho de 2013 às 15:56

Galera, queria saber como faz uma daquelas quests que tipo tem 6 baús e você só pode pegar 1! como é?

kttallanK
02 de julho de 2013 às 17:47
function onUse(cid, item, fromPosition, itemEx, toPosition)
 
if not isPremium(cid) then
	doPlayerSendCancel(cid, "Only premium members are allowed to record videos.")
	return true
end
                                              
if item.actionid == 32698 then
   if getPlayerStorageValue(cid, 326989) <= 0 then
      doPlayerAddItem(cid, 2152, 50)
      doPlayerAddItem(cid, 2392, 10)
      doPlayerAddExp(cid, 2500)
      setPlayerStorageValue(cid, 326989, 1)
      return true
   else
      doPlayerSendTextMessage(cid, 20, "You already completed this quest!")
      return true
   end
end
end

tenta essa aew

EskyloE
08 de julho de 2013 às 22:39

é só usar o mesmo storage id no script de todos os baus da quest