• 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!

Windows premium doll dosent work

zdzisek

New Member
Joined
Aug 30, 2009
Messages
48
Reaction score
0
Hi i maked premium doll but it dosent work i paste everything correctly to data/actions/scripts i also paste everything corectly to data/actions.xmla do i forgot something what i can do please for fast help. i just want to sat that i am trying to use doll with gm maybe here is the problem?
 
function onUse(cid, item, fromPosition, itemEx, toPosition)
doRemoveItem(item.uid)
doCreatureSay(cid, 'You have received 30 premium days.', TALKTYPE_ORANGE_1)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
doPlayerAddPremiumDays(cid, 30)
return true
end





<action itemid="9693" event="script" value="premdoll.lua"/>
 
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerVipDays(cid) > 365 then
doPlayerSendCancel(cid, "You can only have 1 year of premium account or less.")
else
doPlayerAddPremiumDays(cid, 30)
doCreatureSay(cid, "Premium")
doPlayerPopupFYI(cid, "We have added 30 vip days to your account!\nEnjoy it!.")
doRemoveItem(item.uid)
end
return true
 
Back
Top