• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

-Soft + Exp

roberty

New Member
Joined
May 24, 2009
Messages
8
Reaction score
0
Script Facil De fazer...
Bom procurei no forum e não achei um script que da Item e Exp.
Bom p/ pvp-e ou até para sv serios..


Code:
-- Script by Uptera
function onUse(cid, item)

local config = {
      expToAdd = 100000, -- Choose the exp that the player will win
      storageQuest = 2063
}

   if getPlayerStorageValue(cid, config.storageQuest) <= 0 then
        doPlayerAddItem(cid, 6132, 1) --  ID the Item select the item and quantity here
	    doPlayerAddItem(cid, 7367, 1)
		doPlayerAddItem(cid, 2390, 1)
      doPlayerAddExperience(cid, config.expToAdd)
      setPlayerStorageValue(cid, config.storageQuest, 1)
   else
      doPlayerSendCancel(cid, "You already have done this quest.")
   end
return true
end
 
Last edited:
Back
Top