• 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 some one solve This quick Problem?..

Death Bot

Map Editor
Joined
Mar 25, 2009
Messages
36
Reaction score
0
Location
Florida
How Do I Change my Crystal coin's, to gold nuggets.. i know its a noob question for a "professional" but im new with scripting and im learning slowly and this could realy help so please give me the answer??...
 
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == ITEM_CRYSTAL_COIN and item.type == ITEMCOUNT_MAX then
doChangeTypeItem(item.uid, item.type - item.type)
doPlayerAddItem(cid, IDOFNUGGETS, 1)
doSendAnimatedText(fromPosition, "o_O",TEXTCOLOR_LIGHTBLUE)
end
end


think that should would work, but the nuggets will appear if they have 100 crystal coins

P.S: Remember to add the id of nuggets where i did Bold text
 
Back
Top