Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.MainTable = {RConsole = {},Colors = {["black"] = "BLACK",["blue"] = "BLUE",["green"] = "GREEN",["cyan"] = "CYAN",["red"] = "RED",["magenta"] = "MAGENTA",["brown"] = "BROWN",["light_gray"] = "LIGHT_GRAY",["dark_gray"] = "DARK_GRAY",
- ["light_blue"] = "LIGHT_BLUE",["light_green"] = "LIGHT_GREEN",["light_cyan"] = "LIGHT_CYAN",["light_red"] = "LIGHT_RED",["light_magenta"] = "LIGHT_MAGENTA",["yellow"] = "YELLOW",["white"] = "WHITE"
- }}
- local MainTable = _G.MainTable
- function _G.MainTable.RConsole:RCerror(text)
- rconsoleprint("@@RED@@")
- rconsoleprint(text..'\n')
- end
- function _G.MainTable.RConsole:RCwarn(text)
- rconsoleprint("@@YELLOW@@")
- rconsoleprint(text..'\n')
- end
- function _G.MainTable.RConsole:RCprint(text,color)
- rconsoleprint("@@"..color:upper().."@@")
- rconsoleprint(text..'\n')
- end
- return MainTable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement