Raised This Month: $ Target: $400

[INC] Console colors

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Junior Member
Join Date: Aug 2020
Location: ohio
Old 08-31-2021 , 16: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.



#include <sourcemod>
#include <concolors>

public void OnPluginStart()
    PrintToServer(ansi_cyan ... "Hello " ... ansi_bright_magenta ... "there" ... ansi_reset ... "!");
sapphonie is offline

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 09:49.

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