Skip to content

Commit

Permalink
WR finish time for all players
Browse files Browse the repository at this point in the history
Finish time for ourself
Avoid flood chat
  • Loading branch information
klin34970 committed Jan 26, 2016
1 parent 4219bb8 commit 78a4981
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/compile.dat
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ Age=1210736150
[drapi_timer_checkpoints.sp]
Age=1191660758
[drapi_timer_finish_message.sp]
Age=1210736150
Age=1211801669
[drapi_timer_hud_csgo.sp]
Age=1190176044
[drapi_timer_replay.sp]
Expand Down
Binary file modified addons/sourcemod/scripting/compiled/drapi_timer_finish_message.smx
Binary file not shown.
32 changes: 16 additions & 16 deletions addons/sourcemod/scripting/drapi_timer_finish_message.sp
Original file line number Diff line number Diff line change
Expand Up @@ -276,30 +276,30 @@ public int OnTimerRecord(int client, int track, int style, float time, float las
{
if(NewPersonalRecord && !FirstRecord)
{
CPrintToChatAll("");
CPrintToChatAll("%t", "Header2", name, BonusString);
CPrintToChatAll("%t", "Style", StyleString);
CPrintToChatAll("%t", "Time", TimeString);
CPrintToChatAll("%t", "OldTime", LastTimeString);
CPrintToChatAll("");
CPrintToChat(client, "");
CPrintToChat(client, "%t", "Header2", name, BonusString);
CPrintToChat(client, "%t", "Style", StyleString);
CPrintToChat(client, "%t", "Time", TimeString);
CPrintToChat(client, "%t", "OldTime", LastTimeString);
CPrintToChat(client, "");

}
else
{
CPrintToChatAll("");
CPrintToChatAll("%t", "Header2", name, BonusString);
CPrintToChatAll("%t", "Style", StyleString);
CPrintToChatAll("%t", "Time", TimeString);
CPrintToChatAll("");
CPrintToChat(client, "");
CPrintToChat(client, "%t", "Header2", name, BonusString);
CPrintToChat(client, "%t", "Style", StyleString);
CPrintToChat(client, "%t", "Time", TimeString);
CPrintToChat(client, "");
}
}
else
{
CPrintToChatAll("");
CPrintToChatAll("%t", "Header3", name, BonusString);
CPrintToChatAll("%t", "Style", StyleString);
CPrintToChatAll("%t", "Time", TimeString);
CPrintToChatAll("");
CPrintToChat(client, "");
CPrintToChat(client, "%t", "Header3", name, BonusString);
CPrintToChat(client, "%t", "Style", StyleString);
CPrintToChat(client, "%t", "Time", TimeString);
CPrintToChat(client, "");
}
}
}

0 comments on commit 78a4981

Please sign in to comment.