Stránka 1 z 2
PREFIXY
Napsal: 07 bře 2014, 21:58
od Thief97
Ahoj CHci se zeptat jak si na serveru mam dat pred meno prefixy??
Jako treba Majitel ADMIN atd?
Re: PREFIXY
Napsal: 07 bře 2014, 22:52
od Mysteria
https://forums.alliedmods.net/showthread.php?t=186695 tohle to umí, ale momentálně mi to nejde stáhnout...
Re: PREFIXY
Napsal: 08 bře 2014, 11:35
od Thief97
Diky a to se nejak programuje? Nebo to jen das na server neco napises a mas to pred menem??
Re: PREFIXY
Napsal: 08 bře 2014, 11:46
od Mysteria
Ne, je k tomu samozřejmě konfigurační soubor, kde je i detailní návod s příkladama jak to nastavit. Ale jak jsem řekl, nejde mi to stáhnout, stránka mi píše, že není nalezena.
Re: PREFIXY
Napsal: 08 bře 2014, 11:49
od Thief97
Hmm hmm mrknu se na to
Jsem ted na tabletu takze xD
-- 08 bře 2014, 11:51 --
Divam se na to na tabletu a normalne to de.
A to je soubor ktery mam pak vlozit do PLUGINS??
Re: PREFIXY
Napsal: 08 bře 2014, 12:23
od Mysteria
Jo, je to pořád stejný. Obsah složky plugins do plugins, obsah složky configs do configs. Pak v tom souboru custom-chatcolors.cfg si to nastav, můžeš použít tu předpřipravenou část s VIP, jenom si tam uprav tag (co budou mít před jménem), flag, který mají admini (to je to "99:z" v admins_simple.ini, to za : je flag) a případně barvy.
Re: PREFIXY
Napsal: 08 bře 2014, 12:26
od Thief97
A jak si dam teda toho MAJITEL pred meno???
Neco napsani do konzole??
-- 08 bře 2014, 13:36 --
Mam to takto dobře??
Kód: Vybrat vše
// 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:62564171" <-- 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
// }
//
// "Majitel" <-- 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" "[Majitel]" <-- 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"
{
"STEAM_0:1:62564171" "99:z"
{
"tag" "[BAILOPAN] "
"tagcolor" "O"
}
"VIP"
{
"flag" "a"
"tag" "[Majitel] "
"tagcolor" "#9EC34FAA"
"namecolor" "#00CCFF"
"textcolor" "#000000AA"
}
}
Re: PREFIXY
Napsal: 08 bře 2014, 13:41
od Mysteria
Jo, ale místo flagu a si tam nastav z.
Re: PREFIXY
Napsal: 08 bře 2014, 13:43
od Thief97
misto toho A tam mam dat Z?
Re: PREFIXY
Napsal: 08 bře 2014, 14:22
od Mysteria
Jo, majitel asi budeš jenom ty ne?