From 2996e8834faf0dd0a8059e2b0e4619ccc577d040 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Sat, 22 Jul 2023 00:31:35 +0500 Subject: [PATCH] Make notifications stay longer --- beatrun/gamemodes/beatrun/gamemode/sh/Misc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/Misc.lua b/beatrun/gamemodes/beatrun/gamemode/sh/Misc.lua index f38fa3c..2adf73f 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/Misc.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/Misc.lua @@ -49,9 +49,9 @@ hook.Add("PlayerNoClip", "BlockNoClip", function(ply, enabled) ply:SetNW2Int("CPNum", -1) if CLIENT_IFTP() then - notification.AddLegacy("Noclip Enabled: Respawn to run the course", NOTIFY_ERROR, 2) + notification.AddLegacy("Noclip Detected! Respawn to restart the course", NOTIFY_ERROR, 4) elseif SERVER and game.SinglePlayer() then - ply:SendLua("notification.AddLegacy(\"Noclip Enabled: Respawn to run the course\", NOTIFY_ERROR, 2)") + ply:SendLua("notification.AddLegacy(\"Noclip Detected! Respawn to restart the course\", NOTIFY_ERROR, 4)") end end