|
Hello, Rune-Server Helpers ! This is my first time posting in the help section c:
It is a small probably simple problem but I have never tried this so idk how .
I need to make a portal teleport you only if you have Money in your inventory.
Only 1 item in inventory and that is money. Thanks in advance
Code:if((getItems().freeSlots() == 27 && playerEquipment[playerHat] == -1) && (playerEquipment[playerCape] == -1) && (playerEquipment[playerAmulet] == -1) && (playerEquipment[playerChest] == -1) && (playerEquipment[playerShield] == -1) && (playerEquipment[playerLegs] == -1) && (playerEquipment[playerHands] == -1) && (playerEquipment[playerFeet] == -1) && (playerEquipment[playerWeapon] == -1)) {
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |