mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 17:17:33 +00:00
throw error for test
This commit is contained in:
parent
4ab1c2768f
commit
5738d323f2
|
@ -18,6 +18,11 @@ local colorTbl = {
|
|||
["font-secondary"] = Color(179, 179, 179)
|
||||
}
|
||||
|
||||
// con cmd how create a error
|
||||
concommand.Add("gmi_error", function()
|
||||
error("This is a test error")
|
||||
end)
|
||||
|
||||
function gmInte.getColor(name)
|
||||
return colorTbl[name]
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user