<div><font size="5"><b><font color="Red">ALL CREDITS GO TO: <a href="http://hlmod.ru/thre...-colors.24867/"target="_blank">Phoenix</a></font></b>.</font> I just translated it (from RU to English)<br /><br /><b>Description:</b><br /><br />With this plugin you can set to a player an specify color chat/TAG<br /><br /><b>Features</b><ol style="list-style-type: decimal"><li>Support Admin flags, SteamIDs, Admin groups.</li>
<li>Can set Custom <i>Chat TAG</i> with a custom color.</li>
<li>Can set Custom color chat.</li>
<li>Work only for CS:GO.</li>
</ol><br /><b>Commands</b><br /><br /><i>sm_reloadcc</i> Reloads configuration file.<br /><br /><b>Config file: <i>chat_colors_csgo.ini</i></b><br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #FF8000">//ORIGINAL FILE BY Pheonix ( http://steamcommunit...;by Papero
<br />//Color list
<br />//--------------------------------------
<br />//DEFAULT
<br />//TEAM
<br />//RED
<br />//GREEN
<br />//LIME
<br />//LIGHTGREEN
<br />//LIGHTRED
<br />//GRAY
<br />//LIGHTOLIVE
<br />//OLIVE
<br />//PURPLE
<br />//LIGHTBLUE
<br />//BLUE
<br />//--------------------------------------
<br />//
<br />// The TAGs/Colors work in this way
<br />// STEAMID: In CS:GO is always STEAM_1..., STEAM_0... will not work.
<br />// Groups: Name of the group, # before the group name is needed.
<br />// Admin flag: Admin flag, @ before the flag is needed
<br />// ALL: To target all players
<br />//--------------------------------------
<br />// Exaples
<br />//--------------------------------------
<br />//"chat_colors_csgo"
<br />//{
<br />// "@z" - Admin flag of the players that need the TAG/Color (@ before the flag is needed)
<br />// {
<br />// "tag" "[Admin] " - Tag
<br />// "tag_Color" "RED" - Color of the tag
<br />// "name_Color" "TEAM" - Color of the nick
<br />// "chat_Color" "RED" - Color of the chat
<br />// }
<br />// "@a" - Admin flag of the players that need the TAG/Color (@ before the flag is needed)
<br />// {
<br />// "tag" "[VIP] " - Tag
<br />// "tag_Color" "PURPLE" - Color of the tag
<br />// "name_Color" "TEAM" - Color of the nick
<br />// "chat_Color" "GREEN" - color of the chat
<br />// }
<br />// "#admin" - Group of the players that need the TAG/Color (# before the group is needed)
<br />// {
<br />// "tag" "[Админ] " - Tag
<br />// "tag_Color" "PURPLE" - Color of the tag
<br />// "name_Color" "TEAM" - Color of the nick
<br />// "chat_Color" "GREEN" - color of the chat
<br />// }
<br />// "STEAM_1:0:53564701" - SteamID if the player that need the TAG/Color (In CSGO is always STEAM_1, STEAM_0 will not work)
<br />// {
<br />// "tag" "[Friends] " - Tag
<br />// "tag_Color" "GREEN" - Color of the tag
<br />// "name_Color" "TEAM" - Color of the nick
<br />// "chat_Color" "RED" - color of the chat
<br />// }
<br />// "All" - To give the tag to all the players
<br />// {
<br />// "tag" "[Player] " - Tag
<br />// "tag_Color" "GREEN" - Color of the tag
<br />// "name_Color" "TEAM" - Color of the nick
<br />// "chat_Color" "DEFAULT" - color of the chat
<br />// }
<br />//}
<br />//--------------------------------------
<br /></span><span style="color: #DD0000">"chat_colors_csgo"
<br /></span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"@z"
<br /> </span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"tag" "[ADMIN] "
<br /> "tag_Color" "RED"
<br /> "name_Color" "TEAM"
<br /> "chat_Color" "RED"
<br /> </span><span style="color: #007700">}
<br />}
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><b>Installation:</b><br />Put chat_colors_csgo.ini in <i>sourcemod/configs</i><br />Put chat_colors_csgo_en.smx in <i>sourcemod/plugins</i><br /><b>Dependencies: </b><br /><br /><a href="https://forums.allie....php?p=2448733"target="_blank">Chat-Processor</a><br /><br /><b>Screenshot:</b><br /><br />Coming soon...<br /><br /><br /><br /><br /><font size="3"><b>Warnings:</b></font><br /><font size="2">Don't use this with Zephyrus store(not tested with other plugins) alright the color might not work and the tag goes after the name.</font></div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie...attach/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...csgo_en.zip</a>(9.6 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...csgo_ru.zip</a>(9.7 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.sourcemod...37"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1480268505">GetSource</a> (chat_colors_csgo_en.sp - 3.8 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse

[CS:GO]Chat Colors (Custom Chat Colors)
Temat rozp. Adminek AMXX.PL, 27.11.2016 18:42
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych