mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
29
lua/sam/sh_colors.lua
Normal file
29
lua/sam/sh_colors.lua
Normal file
@@ -0,0 +1,29 @@
|
||||
--[[
|
||||
| This file was obtained through the combined efforts
|
||||
| of Madbluntz & Plymouth Antiquarian Society.
|
||||
|
|
||||
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
||||
| Maloy, DrPepper10 @ RIP, Atle!
|
||||
|
|
||||
| Visit for more: https://plymouth.thetwilightzone.ru/
|
||||
--]]
|
||||
|
||||
if SAM_LOADED then return end
|
||||
|
||||
local colors = {
|
||||
Red = Color(244, 67, 54),
|
||||
Blue = Color(13, 130, 223),
|
||||
Green = Color(0, 230, 64),
|
||||
White = Color(236, 240, 241),
|
||||
Black = Color(10, 10, 10)
|
||||
}
|
||||
|
||||
function sam.get_color(name)
|
||||
return colors[name]
|
||||
end
|
||||
|
||||
function sam.add_color(name, color)
|
||||
if isstring(name) and IsColor(color) then
|
||||
colors[name] = color
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user