• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

New Idea i think !

Ates.tr

Im back
Joined
Nov 11, 2007
Messages
1,046
Reaction score
2
Location
Sweden
I just come with a idea but dont know if its will work or not...


Ingame you make a building like named Shop House (1)

And there its lever > items

and if you use a lever then its adding the item to character and remove 10 premium points...

i just come with this idea cause many peoples cant make it work ingame!

Edit: Sorry for my bad english, writed fast!
 
Easy:

PHP:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 17000 and item.itemid == 1945 then
if getPlayerPremiumDays(cid) >= 10 then
doPlayerAddItem(cid, 2268, 5)
doPlayerRemovePremiumDays(cid, 10)
doTransformItem(item.uid,item.itemid+1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You bought a sudden death rune 5x charges!.")
else
doPlayerSendCancel(cid, "You don't have premuim days")
end
elseif item.uid == 17000 and item.itemid == 1946 then
doTransformItem(item.uid,item.itemid-1)
end
return TRUE
end
 
@up

You should learn tabbing..

Code:
function onUse(cid, item, frompos, item2, topos)
   if item.uid == 17000 and item.itemid == 1945 then
      if getPlayerPremiumDays(cid) >= 10 then
         doPlayerAddItem(cid, 2268, 5)
         doPlayerRemovePremiumDays(cid, 10)
         doTransformItem(item.uid,item.itemid+1)
         doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You bought a sudden death rune 5x charges!.")
      else
         doPlayerSendCancel(cid, "You don't have premuim days")
      end
   elseif item.uid == 17000 and item.itemid == 1946 then
         doTransformItem(item.uid,item.itemid-1)
   end
   return TRUE
end
 
Back
Top