ummm i doubt this wuld work but....
if (playerequipment[cape] == CAPE ID) && (p.playerequipment[cape] == CAPE ID) {
attack = false;
}
idk replace all the voids
(that wuld go in the atk void
|
Once i saw a topic to add some things that people in cw can't attack their team mates.
But now i searched again i can't find it back.
Does someone have a link to it for me? or maybe a backup of it?
- Tyvm!
ummm i doubt this wuld work but....
if (playerequipment[cape] == CAPE ID) && (p.playerequipment[cape] == CAPE ID) {
attack = false;
}
idk replace all the voids
(that wuld go in the atk void
Na, doesn't work.
There was a topic for a working one.
ill keep my eyes open k
maybe search in your attack method for canattack and add || p.hasitem (ID) && pl2.hasitem (ID) can attack = false
thats just the basics of it ull nead to redo it and it would work
Either make a character token for which team they are in and add it into the attack packet, then make it reset after the game lulz.
can't you just add a break? like..
if (playerequipment[cape] == CAPE ID) && (p.playerequipment[cape] == CAPE ID) {
break;
}
or soemthing
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |