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

How do I make a chest give more than 1cc.

Cornwallis

Member
Joined
Jan 3, 2010
Messages
480
Reaction score
16
Well, this is a noob post but I'm noob soo... I'm using RME and I want the chest to give 5cc - 2160 - but I'm not completely sure how to... :p
 
yes.. if you have a new chest do rightmoue then action id: 2000 -- so its not moveable and a unique is need for i dont know its need but it needs just do 4 or 5 numbers u want..
then add a item in 1 of the black boxes like u want CC so search for 2160 and click OK then if u have it rightmouse click on that CC and do edit item then only add at the count 5(because u want to give 5CC)
 
Why dont u try this quest system:
set the uid of ur chest to 20013 and put this code in actions
Code:
function onUse(cid, item, frompos, item2, topos)

	if item.uid == 20013 then
 	queststatus = getPlayerStorageValue(cid,20013)
 	if queststatus == -1 then
 	doPlayerSendTextMessage(cid,22,"You found 5cc.")
 	doPlayerAddItem(cid,2160,5) -- id and count of the CC
 	setPlayerStorageValue(cid,20013,1)
 	else
 	doPlayerSendTextMessage(cid,22,"It is empty.")
 	end
	else
	return 0
	end

	return 1
	end

Actions.xml
Code:
<action uniqueid="20013" event="script" value="quests/cc.lua" />
 
Back
Top