From 1cdb099c87b24bf201add111f2cb8123b45555d6 Mon Sep 17 00:00:00 2001 From: Riccardo H Date: Fri, 2 Aug 2019 00:58:25 +0200 Subject: [PATCH] readded cp message --- addons/sourcemod/scripting/surftimer/misc.sp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/sourcemod/scripting/surftimer/misc.sp b/addons/sourcemod/scripting/surftimer/misc.sp index 08e0bf8..9683035 100644 --- a/addons/sourcemod/scripting/surftimer/misc.sp +++ b/addons/sourcemod/scripting/surftimer/misc.sp @@ -3989,6 +3989,9 @@ public void Checkpoint(int client, int zone, int zonegroup, float time) /* Finish the call, get the result */ Call_Finish(); + if (g_bCheckpointsEnabled[client]) + CPrintToChat(client, "%t", "Misc30", g_szChatPrefix, g_iClientInZone[client][1] + 1, szTime, szDiff, sz_srDiff); + Format(szSpecMessage, sizeof(szSpecMessage), "%t", "Misc31", g_szChatPrefix, szName, g_iClientInZone[client][1] + 1, szTime, szDiff, sz_srDiff); CheckpointToSpec(client, szSpecMessage);