CS_SetTeamScore Function

Sets a team's score

void CS_SetTeamScore(int team, int value)

Parameters

int team

Team index to set score for.

int value

Value to set teams score as.

Errors

Invalid team index.

Notes

This will update the scoreboard only after the scoreboard update function is called. Use SetTeamScore plus this to update the scoreboard instantly and save values correctly.