mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 13:23:02 +05:00
Make notifications stay longer
This commit is contained in:
parent
95adabcf3c
commit
2996e8834f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue