• 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 a script

zoxoria

New Member
Joined
Mar 8, 2011
Messages
11
Reaction score
0
Hi someone give me a script for premdoll but is not working but i paste evryting correct!here is a script maybe i done small mistake.When you supost to use premdoll you shoudla click on it a press use is that corect?
data/actions/actions.xml

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

i paste that on actions.xml on bottom of the tilte other

here is my second cript
data/actions/scripts (i named the cript premdoll.lua)

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

i just want to say my premdoll is a jesterdoll 9693 maybe i didint put item it someware.
Please tell me why is not working becouse i want to start my ots and this is last thing that i need it to create.thank you and i'm waiting for your help^_^
 
Back
Top