void RefreshScore(int client) { int entity = CreateEntityByName("game_score"); if (entity != -1) { DispatchKeyValue(entity, "points", "0"); AcceptEntityInput(entity, "ApplyScore", client); AcceptEntityInput(entity, "Kill"); } }