Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,122 +1,122 @@
/**
* SMLib Colors Definitions (used by smlib/colors.inc)
* http://www.sourcemodplugins.org/pages/smlib/
*
* Note: This file is only needed if you need to have to override the default color settings
* and doesn't need to be distributed
* The settings below are already hardcoded into smlib.
*
* Valid colors are:
*
* "normal", // Normal
* "orange", // Orange
* "red", // Red
* "redblue", // Red, Blue
* "blue", // Blue
* "bluered", // Blue, Red
* "team", // Team
* "lightgreen", // Light green
* "gray", // GRAy
* "green", // Green
* "olivegreen", // Olive green
* "black" // BLAck
*
* Valid keyvalues are:
*
* color_code Color Code (1 - 8)
* color_alternative Defines the index of alternative color (see the chatColorInfo array in colors.inc)
* color_supported Set to "true" if the color is supported, "false" otherwise.
* color_subjecttype (see ChatColorSubjectType enum in colors.inc, any value higher than 0 defines a team color)
*/
"Games"
{
/* Default */
"#default"
{
"Keys"
{
"lightgreen_supported" "false"
"gray_supported" "false"
"black_supported" "false"
}
}
/* Counter-Strike: Source */
"cstrike"
{
"Keys"
{
"lightgreen_supported" "true"
"gray_supported" "true"
}
}
/* Team Fortress 2 */
"tf"
{
"Keys"
{
"lightgreen_supported" "true"
"gray_supported" "true"
"black_supported" "true"
"gray_code" "1"
"gray_subjecttype" "-3"
}
}
/* Half Life 2: Deathmatch */
"hl2dm"
{
"Keys"
{
"lightgreen_supported" "true"
"gray_supported" "true"
"black_supported" "true"
"red_subjecttype" "3"
"redblue_subjecttype" "3"
"blue_subjecttype" "2"
"bluered_subjecttype" "2"
}
}
/* Day of Defeat: Source */
"dod"
{
"Keys"
{
"lightgreen_supported" "true"
"gray_supported" "true"
"black_supported" "true"
// Team colors are automatically recognized as unsupported if there is no SayText2
}
}
/* Left 4 Dead */
"left4dead"
{
"Keys"
{
"lightgreen_supported" "true"
"gray_supported" "false"
"orange_code" "4"
"green_code" "5"
}
}
/* Left 4 Dead 2 */
"left4dead2"
{
"Keys"
{
"lightgreen_supported" "true"
"gray_supported" "true"
"orange_code" "4"
"green_code" "5"
}
}
}
/**
* SMLib Colors Definitions (used by smlib/colors.inc)
* http://www.sourcemodplugins.org/pages/smlib/
*
* Note: This file is only needed if you need to have to override the default color settings
* and doesn't need to be distributed
* The settings below are already hardcoded into smlib.
*
* Valid colors are:
*
* "normal", // Normal
* "orange", // Orange
* "red", // Red
* "redblue", // Red, Blue
* "blue", // Blue
* "bluered", // Blue, Red
* "team", // Team
* "lightgreen", // Light green
* "gray", // GRAy
* "green", // Green
* "olivegreen", // Olive green
* "black" // BLAck
*
* Valid keyvalues are:
*
* color_code Color Code (1 - 8)
* color_alternative Defines the index of alternative color (see the chatColorInfo array in colors.inc)
* color_supported Set to "true" if the color is supported, "false" otherwise.
* color_subjecttype (see ChatColorSubjectType enum in colors.inc, any value higher than 0 defines a team color)
*/

"Games"
{
/* Default */
"#default"
{
"Keys"
{
"lightgreen_supported" "false"
"gray_supported" "false"
"black_supported" "false"
}
}

/* Counter-Strike: Source */
"cstrike"
{
"Keys"
{
"lightgreen_supported" "true"
"gray_supported" "true"
}
}

/* Team Fortress 2 */
"tf"
{
"Keys"
{
"lightgreen_supported" "true"
"gray_supported" "true"
"black_supported" "true"

"gray_code" "1"
"gray_subjecttype" "-3"
}
}

/* Half Life 2: Deathmatch */
"hl2dm"
{
"Keys"
{
"lightgreen_supported" "true"
"gray_supported" "true"
"black_supported" "true"

"red_subjecttype" "3"
"redblue_subjecttype" "3"
"blue_subjecttype" "2"
"bluered_subjecttype" "2"
}
}

/* Day of Defeat: Source */
"dod"
{
"Keys"
{
"lightgreen_supported" "true"
"gray_supported" "true"
"black_supported" "true"
// Team colors are automatically recognized as unsupported if there is no SayText2
}
}

/* Left 4 Dead */
"left4dead"
{
"Keys"
{
"lightgreen_supported" "true"
"gray_supported" "false"

"orange_code" "4"
"green_code" "5"
}
}

/* Left 4 Dead 2 */
"left4dead2"
{
"Keys"
{
"lightgreen_supported" "true"
"gray_supported" "true"

"orange_code" "4"
"green_code" "5"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
#if defined _smlib_included
#endinput
#endif
#define _smlib_included
#define SMLIB_VERSION "0.9.7"
#include <smlib/general>
#include <smlib/arrays>
#include <smlib/clients>
#include <smlib/colors>
#include <smlib/concommands>
#include <smlib/convars>
#include <smlib/crypt>
#include <smlib/debug>
#include <smlib/dynarrays>
#include <smlib/edicts>
#include <smlib/effects>
#include <smlib/entities>
#include <smlib/files>
#include <smlib/game>
#include <smlib/math>
#include <smlib/menus>
//#include <smlib/pluginmanager>
#include <smlib/server>
#include <smlib/strings>
#include <smlib/sql>
#include <smlib/teams>
#include <smlib/vehicles>
#include <smlib/weapons>
#include <smlib/world>
#if defined _smlib_included
#endinput
#endif
#define _smlib_included

#define SMLIB_VERSION "0.9.7"

#include <smlib/general>

#include <smlib/arrays>
#include <smlib/clients>
#include <smlib/colors>
#include <smlib/concommands>
#include <smlib/convars>
#include <smlib/crypt>
#include <smlib/debug>
#include <smlib/dynarrays>
#include <smlib/edicts>
#include <smlib/effects>
#include <smlib/entities>
#include <smlib/files>
#include <smlib/game>
#include <smlib/math>
#include <smlib/menus>
//#include <smlib/pluginmanager>
#include <smlib/server>
#include <smlib/strings>
#include <smlib/sql>
#include <smlib/teams>
#include <smlib/vehicles>
#include <smlib/weapons>
#include <smlib/world>
Loading