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

Present Script [7.6]

Matti96

Abyss
Joined
Apr 17, 2009
Messages
254
Reaction score
46
Location
Poland/Germany
hello im a scripter and i made this script.

if you open a present box you will get an aol

Works now 100%

-- Present Script --

function onUse(cid, item, frompos, item2, topos)
doTransformItem(item.uid,2173)
doPlayerSendTextMessage(cid,22,'You have found an Amulet of Loss!')
end
now save this in data\actions\scripts\present.lua

<action itemid="1990" script="present.lua" />
write this into data\actions\actions.xml

and you are ready!

i hope you like it
 
Last edited:
Cool :thumbup:.

Litle Fix:
Lua:
-- Present Script --

function onUse(cid, item, frompos, item2, topos)
   doPlayerRemoveItem(item.uid,1)
   doPlayerAddItem(cid,2173,1)
   doPlayerSendTextMessage(cid,22,'You have found an Amulet of Loss!')
   return TRUE
end

And post Scripts in Actions / Movements / Talkactions ;).

Regards,
Shawak
 
Last edited:
-- Present Script --
I fix it 100%
function onUse(cid, item, frompos, item2, topos)
doTransformItem(item.uid,2173)
doPlayerSendTextMessage(cid,22,'You have found an Amulet of Loss!')
end
 
Back
Top