Raised This Month: $319 Target: $400
 79%   Almost there!

[INC] Console colors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sapphonie
Junior Member
Join Date: Aug 2020
Location: ohio
Old 08-31-2021 , 15:21   [INC] Console colors
Reply With Quote #1

Uses ansi escape codes to print colored chat to server console, probably only works on linux.

Thanks nosoop for some help.

https://github.com/sapphonie/sourcemod-consolecolors

Example:


Code:
#include <sourcemod>
#include <concolors>

public void OnPluginStart()
{
    PrintToServer(ansi_cyan ... "Hello " ... ansi_bright_magenta ... "there" ... ansi_reset ... "!");
}
__________________
she/her
sapphonie is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-06-2021 , 22:41   Re: [INC] Console colors
Reply With Quote #2

Nice
__________________
Do not Private Message @me
Bacardi is online now
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 09-08-2021 , 04:18   Re: [INC] Console colors
Reply With Quote #3

nice but linux only
__________________
8guawong is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:54.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode