|
if(objectID == 5959){
triggerTele2(2539, 4712, 0); && playerRights => 2
sM("you need to be an admin or higher to use this tele")
//i think?
}
Can someone help me write this code.... im trying to experiment
Code:if(objectID == 5959 && playerRights >= 2) triggerTele2(2539, 4712, 0); //i think? if(objectID == 5959 && playerRights < 2) sM("You need to be an admin or higher to use this tele return; } }
wrong close ur sM
like sM("you need to be an admin or higher to use this tele");
& check
http://www.rune-server.org/showpost....7&postcount=14 - for maybe the correct one?
This should workif(objectID == 5959 && playerRights >= 2){
triggerTele2(2539, 4712, 0);
} else if(objectID == 5959 && !playerRights >= 2) {
sM("You need to be an admin or higher to use this tele);
}
break;
if(objectID == 5959 && playerRights >= 2){
triggerTele2(2539, 4712, 0);
} else {
sM("You must own georgio first before you can teleport");
}
must work iv just tried it..
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |