From a96d989b2121e3c94c44790a3084375b83f060e0 Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Mon, 14 Aug 2023 19:03:45 +0300 Subject: [PATCH] Add delay for round mode info (#29) --- .../amxmodx/scripting/ReDeathmatch/ReDM_round_modes.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cstrike/addons/amxmodx/scripting/ReDeathmatch/ReDM_round_modes.inc b/cstrike/addons/amxmodx/scripting/ReDeathmatch/ReDM_round_modes.inc index 0c25046..05515a0 100644 --- a/cstrike/addons/amxmodx/scripting/ReDeathmatch/ReDM_round_modes.inc +++ b/cstrike/addons/amxmodx/scripting/ReDeathmatch/ReDM_round_modes.inc @@ -69,6 +69,10 @@ public CBasePlayer_OnSpawnEquip(const player, bool: addDefault, bool: equipGame) if (g_currentRoundModeIdx == -1) return + set_task(0.3, "RoundInfoMessage", player) +} + +public RoundInfoMessage(const player) { new modeName[32] GetModeInfo(g_currentRoundModeIdx, modeName, charsmax(modeName))