if($player[$x]->name == $p->name || $player[$x]->name == $target) unset $player[$x]; //<-- line 215
commenting out this line removes the error:
PHP Parse error: syntax error, unexpected T_VARIABLE, expecting '(' in /path/script.php on line 215
But I don't see were it's expecting a (, am I missing something obvious?