17.04.2014, 08:49
pawn Код:
error 002: only a single statement (or expression) can follow each "case"
error 002: only a single statement (or expression) can follow each "case"
pawn Код:
SetPlayerScore(playerid, GetPlayerScore(playerid) +1);
SetPVarInt(playerid, "Raping", 0);
RapeAgain[playerid] = SetTimerEx("Rape", 1000*40, 0, "i", playerid);
}
else return SendClientMessage(playerid, COLOR_RED, "Nobody Close Enough To Rape.");
}
SetPlayerScore(playerid, GetPlayerScore(playerid) +1);
SetPVarInt(playerid, "Raping", 0);
RapeAgain[playerid] = SetTimerEx("Rape", 1000*40, 0, "i", playerid);
}
else
{
format(error, sizeof error, "%s (%d) Is Not Close Enough.", PlayerName(nPlayer), pID);
SendClientMessage(playerid, COLOR_RED, error);
return 1;
}