Use
Left 4 Downtown and this forward:
PHP Code:
/**
* @brief Called whenever CTerrorGameRules::SetCampaignScores(int,int) is invoked
* @remarks The campaign scores are updated after the 2nd round is completed
*
* @param scoreA score of logical team A
* @param scoreB score of logical team B
* @return Pl_Handled to block campaign scores from being set, Pl_Continue otherwise.
*/
forward Action:L4D_OnSetCampaignScores(&scoreA, &scoreB);
It would look like something like this:
PHP Code:
public Action:L4D_OnSetCampaignScores(&scoreA, &scoreB)
{
if (firsthalf()) scoreA += 100 * collecteditems;
else scoreB += 100 * collecteditems;
}
__________________