What code is on line 21?
|
|

fixed it
lol if p==null u want to reset the attack for p which == null? smart vry smartCode:if (p == null || n == null || p.isDead || p.skillLvl[3] <= 0 || n.isDead || n.currentHP <= 0 || p.disconnected[0]) { resetAttack(p); }
do somting more liek
if(p==null || n==null)
return;


try posting the actual lines were the error occurs..




it'll be player 2
Code:int offsetX = -1; if (p2 != -1) { offsetX = (p.absX - p2.absX) * -1; }



| « Help Pl0x | An error that will not leave me alone! » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |