Quote:
Originally Posted by BeNq!
Did not work. Resets statistics, but restores them in the next round.
|
PHP Code:
void RefreshScore(int client)
{
int entity = CreateEntityByName("game_score");
if (entity != -1)
{
DispatchKeyValue(entity, "points", "0");
AcceptEntityInput(entity, "ApplyScore", client);
AcceptEntityInput(entity, "Kill");
}
}
__________________