Dieses ist bei weitem das beste.
klick mich
Custom Chat Colors nutze ich selbst es bietet über 250 Farben und man kann alles über eine cfg einstellen!
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
// Custom Chat Colors is written by Dr. McKay (http://www.doctormckay.com)
// Simple Chat Colors (Redux) is written by Antithasys
// The configuration is very similar, so I've stolen Redux's documentation :P
//
// How to edit this file:
// "admin_colors" <-- Leave this alone
// { <-- Add all groups/steamids after first bracket (Leave this alone)
//
// "STEAM_0:1:1234567" <-- Here is a steamid example with a tag (don't duplicate steamids)
// {
// "namecolor" "#RRGGBB" <-- This is the color for the name (#RRGGBB in hex notation or #RRGGBBAA with alpha)
// "textcolor" "#RRGGBBAA" <-- This is the color of the text
// }
//
// "groupname" <-- This can either be a steamid for a specific player, or a group name
// { <-- Open the group
// "flag" "z" <-- This is the flag(s) assoicated with the group. This field doesn't matter if the group name is a steamid
// "tag" "[admin]" <-- This is the text for the tag
// "tagcolor" "O" <-- This is the color for the tag
// "namecolor" "G" <-- This is the color for the name
// "textcolor" "T" <-- This is the color of the text
// } <-- Close the group
// } <-- Add all groups/steamids before last bracket (Leave this alone)
//
// NOTE:
// If you don't enter a steamid then the group name does not matter, it's just for your reference.
//
// For colors, either a hex notation of a color (#RRGGBB or #RRGGBBAA) or one of the supported shortcuts (O - Olive, G - Green, T - Team) is required
//
// --------ORDER OF OPERATIONS--------
//
// The order in which you place items in the config file matters. Here is what determins what color they get:
// 1. SteamID
// If there is a steamid present, it will always override everything. If you put a steamid in twice
// then the first entry (top to bottom) will be used. (I think, just don't do it!)
// 2. Groups
// The plugin will search (top to bottom) for a postitive match for the flag string. The player' flags
// will be compared with the group flag character (NOTE: only one flag per group! "a" is okay, "ab" is NOT),
// and if the player has the flag, it will stop there.
// For example. Admins with the "ad" flags and donators with the "a" flag. If you place the "a" flag group
// above the "d" group then the admin will get the "a" colors. Order matters.
//
// ---------DO NOT EDIT ABOVE THIS LINE---------
"admin_colors"
{
"Owner"
{
"flag" "z"
"tag" "[Owner] "
"tagcolor" "G"
"namecolor" "#FFD700"
}
"Admins"
{
"flag" "b"
"tag" "[Admin] "
"tagcolor" "G"
"namecolor" "#FFD700"
}
"Donators"
{
"flag" "a"
"tag" "[VIP] "
"tagcolor" "G"
"namecolor" "#FFD700"
}
}
|
Custom Chat Colors benötigt folgendes um zu laufen!
klick mich
So wie wird dies benötigt:
morecolors.inc
Von hier gehen alle Farben, hab so gut wie alle getestet:
klick mich
Der ganze aufwand lohnt sich auf jedenfall, viel Spaß beim testen!