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

can somobdy help me with this script?

zdzisek

New Member
Joined
Aug 30, 2009
Messages
48
Reaction score
0
Hi i got a script for premium doll but can someone give me a instruction how to make this doll please give me a instruction step by step thank you

here it is

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
 
Okay here's the deal.
Rename that script to premdoll.lua , then put it here: server/data/actions/scripts
After it's in there, open your actions.xml file in server/data/actions and add this line:

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

XXXX <-- replace that with ID of the doll that you want to have the effect.

I hope this helps.
 
do i need to change anything here
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

or just raneme the script only, thank you for your help
 
Back
Top Bottom