You can now offer your support and also make money by selling 3 Skulls RPG. You receive 30% commision per sale. If you do not want to let this opportunity pass then act now and register for free.
You will get your own affiliate Control Panel from where you can generate the links to put on your webpages and monitor your generated sales.
Now I will tell you how to make a chest that is locked, and the way to get a key to unlock it.
First, go to items, and add a new one called key. Give it a description.
Second, go to containers and add a new one called Chest. In the details tab uncheck open and check locked. Then paste this script into the chest.
function OnUnlock(){
if(Sender.ItemExists(KEY-ID)){//insert the ID of your key here
Self.Unlock();
Echo("~"+Sender.Name+" unlocks the chest.~<>");
}
else{
Echo("~You need a key to unlock this chest.~<>");
}
}
You can store anything you don't want to make it too easy for the player to get in the chest.