remove the coords when clicking the object so it is just
in click objects or whatever
If(objectid) {
moveto
} else {
nope
}
its probably like this
If(objectid && x == 1231 && y == 2342) {
moveto
} else {
nope
}
|
|
if (objectID == 1733) {
if (playerHasItem(1543)) {
teleportToX = 2601;
teleportToY = 9478;
} else {
sendMessage("You need a red key to go down these stairs");
thats how it looks like atm no errors when compiling and it dosent work?
| « Paying for someone to set up an (auto or non auto) donation system | Inventory Slots » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |