I made in my quest tab monster tele's, when u click on it there comes a another screen like when u rub a glory but its at the top of my screen
thats the first problem
And the next problem is when i click on like corperal beast it wont tele ;s
here are the 2 codes i used
Code:
if (buttonId == 18) {//Monster tele
if (p.attackedBy != null) {
p.getActionSender().sendMessage(p, "You cannot use this command while in combat retard.");
return;
}
if (p.jailed > 0) {
p.getActionSender().sendMessage(p, "You are jailed moron!");
return;
}
p.getActionSender().showInterface(p, 235);
p.getActionSender().setString(p, "<col=FFff00>Monster tele", 235, 1);
p.getActionSender().setString(p, "<col=FFff00>God Wars", 235, 2);
p.getActionSender().setString(p, "<col=FFff00>KBD", 235, 3);
p.getActionSender().setString(p, "<col=FFff00>Slayer 1st floor", 235, 4);
p.getActionSender().setString(p, "<col=FFff00>Slayer 2nd floor", 235, 5);
p.getActionSender().setString(p, "<col=FFff00>Corperal Beast", 235, 6);
}
Second is how to tele:
Code:
case 235:
if (buttonId == 6){//Corp
if (p.attackedBy != null) {
p.getActionSender().sendMessage(p, "You cannot use this command while in combat.");
return;
}
if (p.jailed > 0) {
p.getActionSender().sendMessage(p, "You are jailed!");
return;
}
p.teleportTo(2912, 4384, 0, 4, 0, 8939, 8941, 1678, 0, 1679, 0);
p.getActionSender().sendMessage(p, "Welcome to Corp Gl on drops");
}
if (buttonId == 2){//God wars
if (p.attackedBy != null) {
p.getActionSender().sendMessage(p, "You cannot use this command while in combat.");
return;
}
if (p.jailed > 0) {
p.getActionSender().sendMessage(p, "You are jailed!");
return;
}
p.getActionSender().sendMessage(p, "This is not done yet ! use ::bandosboss,::armaboss,::saraboss,::zammyboss");
}
if (buttonId == 3){//KBD
if (p.attackedBy != null) {
p.getActionSender().sendMessage(p, "You cannot use this command while in combat.");
return;
}
if (p.jailed > 0) {
p.getActionSender().sendMessage(p, "You are jailed!");
return;
}
p.teleportTo(2274, 4695, 0, 4, 0, 8939, 8941, 1678, 0, 1679, 0);
p.getActionSender().sendMessage(p, "Welcome t0 KBD");
}
if (buttonId == 4){//Slayer tower 1st floot
if (p.attackedBy != null) {
p.getActionSender().sendMessage(p, "You cannot use this command while in combat.");
return;
}
if (p.jailed > 0) {
p.getActionSender().sendMessage(p, "You are jailed!");
return;
}
p.teleportTo(3425, 3538, 0, 0, 0, 8939, 8941, 1576, 0, 1577, 0);
p.getActionSender().sendMessage(p, "Welcome to slayer tower 1st floor");
}
if (buttonId == 5){//Slayer tower 2nd floot
if (p.attackedBy != null) {
p.getActionSender().sendMessage(p, "You cannot use this command while in combat.");
return;
}
if (p.jailed > 0) {
p.getActionSender().sendMessage(p, "You are jailed!");
return;
}
p.teleportTo(3417, 3540, 2, 2, 0, 8939, 8941, 1576, 0, 1577, 0);
p.getActionSender().sendMessage(p, "Welcome to slayer tower 2nd floor");
}
The one who kan help gets REP++
Btw i got teamviewer
My msn [email protected]
Or reply here thx ;-)