Yes I have made a mini game from the rfd place the final battle a mini game I got the portals to teleport you when you have received a holy grail from killing elvarg the next part if you need a crystal key to pass through the ice gate but when I add
Code:
* Crystal Key
*/
case 6461:
if (c.getItems().playerHasItem(989,1)) {
c.getPA().startTeleport(2914, 3450, 1, "modern");
c.getItems().addItem(989, 1);
} else {
c.sendMessage("You can't move on until you have a Holy Grail!");
}
break;
it dont work but it works for the holy grail
Code:
* Holy Grail
*/
case 12356:
if (c.getItems().playerHasItem(19,1)) {
c.getPA().startTeleport(2857, 3810, 1, "modern");
c.getItems().deleteItem(19, 1);
} else {
c.sendMessage("You can't move on until you have a Holy Grail!");
}
break;
Can anyone please tell me why it wont teleport you through the gate when you recieved a crystal key? please any help will be nice!