Skip to content

Commit

Permalink
few backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
Yogpod committed May 1, 2020
1 parent c112130 commit b467e4c
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 9 deletions.
Binary file added gamemodes/sandbox/backgrounds/1034298.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamemodes/sandbox/backgrounds/598602.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamemodes/sandbox/backgrounds/700701.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamemodes/sandbox/backgrounds/754567.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamemodes/sandbox/backgrounds/865098.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamemodes/sandbox/backgrounds/873010.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamemodes/sandbox/backgrounds/880175.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamemodes/sandbox/backgrounds/903637.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gamemodes/sandbox/backgrounds/wave (25).jpg
Binary file not shown.
File renamed without changes.
19 changes: 10 additions & 9 deletions lua/menu2/menu.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
local Lime = Color(127, 255, 0, 255)
local Red = Color(255, 36, 39)
local Aquamarine = Color(127, 255, 212, 255)
local LightBlue = Color(72, 209, 204, 255)
local LightGreen = Color(34, 252, 30)

local Message = {
"+-------------------oOo-------------------+",
Expand All @@ -11,11 +13,11 @@ local Message = {
}

local Modules = {
"menu2/util.lua",
"menu2/fuckloadingscreen.lua",
"menu2/mainmenu.lua",
"menu2/errors.lua",
"menu2/openurl2.lua",
"util.lua",
"loadingscreen.lua",
"mainmenu.lua",
"errors.lua",
"openurl2.lua",
}

local longest = 0
Expand All @@ -38,7 +40,7 @@ for _, v in pairs(Modules) do
MsgC(Aquamarine, "Loading the modules ")
MsgC(Lime, v)
MsgC(Aquamarine, " ...\n")
include(v)
include("menu2/" .. v)
end


Expand All @@ -48,9 +50,8 @@ http.Fetch( "https://pastebin.com/raw/KXGqugUc", function( body )
MsgC(LightBlue,"Your menu version is up to date!\n")
end
if body > version then
outdated = true
for i = 1, 100 do
MsgC(LightBlue,"Version Outdated, please go to https://github.com/Yogpod/redandblackgmod to update\n")
MsgC(Red,"Version Outdated, please go to https://github.com/Yogpod/redandblackgmod to update\n")
end
for i = 1,2 do
surface.PlaySound( "ambient/alarms/klaxon1.wav" )
Expand All @@ -59,4 +60,4 @@ http.Fetch( "https://pastebin.com/raw/KXGqugUc", function( body )
end)

MENU2_LOADED = true
MsgC(LightBlue, "\nChecked for updates and all modules were loaded!\n")
MsgC(LightGreen, "\nChecked for updates and all modules were loaded!\n")

0 comments on commit b467e4c

Please sign in to comment.