Originally Posted by
c0d3r 4 lyf3
ok that different then hold on
Code:
if (p.teleportToX == -1 && p.teleportToY == -1)
{
p.setCoords(2725, 3495, 0);// p.setCoords(2611, 3092, 0);
p.equipmentN[0] = 1;
p.equipment[0] = 4708;
p.equipmentN[2] = 1;
p.equipment[2] = 6577;
p.equipmentN[3] = 1;
p.equipment[3] = 4587;
p.equipmentN[4] = 1;
p.equipment[4] = 4712;
p.equipmentN[5] = 1;
p.equipment[5] = 3842;
p.equipmentN[7] = 1;
p.equipment[7] = 4714;
p.equipmentN[10] = 1;
p.equipment[10] = 3105;
}
so new players should login with shit?
Have it make sure you have no cape or hood.
example:
Code:
if (object info here) {
if (p.equipment[0] > -1 || p.equipment[5] > -1) {
System.out.println("You cannot have a hat or cape on");
} else {
teleport info
p.equipment[0] = #;
p.equipment[5] = #;
}
please note this is extremely basic information that wont work either, im just giving you the basic info needed to make them enter castle wars. you would have to put alot of restrictions as well for once your wearing it.