• 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 problem with premium doll

zdzisek

New Member
Joined
Aug 30, 2009
Messages
48
Reaction score
0
i created premium doll on my ots but i got a problem i created in data/actions scripts premdoll.lua and paste this

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


after i went to data/actions.xml and stick this

<action itemid="5958" event="script" value="premdoll.lua"/>

but it don't work at all can somwane tell me what i done wrong.please help
 
i created premium doll on my ots but i got a problem i created in data/actions scripts premdoll.lua and paste this

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


after i went to data/actions.xml and stick this

<action itemid="5958" event="script" value="premdoll.lua"/>

but it don't work at all can somwane tell me what i done wrong.please help



1.Is the item id 5958 an item that is a doll? if not, use a other item that is an doll...
2. in server use /reload actions, maybe this can help
3. Shutdown and open the server


/\ follow this steps maybe it can help u

;)
 
Back
Top