Errm... "Illegal else without matching if" . You stated an 'else if' without an 'if' .
See it like this.
Code:
if (OP == straight){
nLoveWomen;
}
else if (OP == gay){
nLoveMen;
}
else{
nLoveNothing;
}
If you didn't state an if (OP == straight) you can not tell OP to nLoveMen if you didn't ask if OP is straight. It's like: Do If or Do Else, when if is correct, execute if, else execute else. Damn how do you explain this. You didn't state an if before the else if.
Edit: Undo everything is ZCombatInterface.cpp and redo it again. You did something wrong. My lines of that code are somewhere else in that file... after you did that, do this:
Find this line:
Code:
sprintf( szText, "%s : %d", ZMsg( MSG_WORD_ENDKILL), ZGetGame()->GetMatch()->GetRoundCount());
Replace that line with this:
Code:
if ( ZGetGame()->GetMatch()->GetMatchType() == MMATCH_GAMETYPE_VAMP){
sprintf( szText, "%s : %d", "Hunts", ZGetGame()->GetMatch()->GetRoundCount());
}
else{
sprintf( szText, "%s : %d", ZMsg( MSG_WORD_ENDKILL), ZGetGame()->GetMatch()->GetRoundCount());
}