Hi,
I am looking for a plugin that is able to set team score (assuming its possible). I want the plugin to set and save score values, but with most plugins, the game will on event RoundEnd just reset the scores to its normal values.
Code:
public Event_RoundEnd(Handle:event, const String:name[], bool:dontBroadcast) {
if(GetConVarInt(timeCvar) == 2) {
SetTeamScore(2, CS_GetTeamScore(2) + GetConVarInt(team2Cvar));
SetTeamScore(3, CS_GetTeamScore(3) + GetConVarInt(team3Cvar));
}
}
Which is kinda working, at the next round there is cvar value + normal value, however when I try to call GetTeamScores at the end of each round, it will return normal values (without +cvar), any idea?