Skocz do zawartości

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.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

Chat Prefix Manager (v1.0)


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 494
  • Lokalizacja:AMXX.PL
Offline

Napisano 08.04.2013 03:02

Chat Prefix Manager
v1.0
By Blizzard.

Description

hey have you ever wanted to change the default chat system from showing (Terrorist) or (Counter-Terrorist) for team chat to something simple like (T) or (CT) / [T] or [CT] etc etc.

or even spectator and dead chat values......

Well Now You Can!!..

with my CPM plugin you can change any default chat value by simply editing a cvar in the config file provided.

example:

normal dead is *DEAD* <name> : Message
quick edit of a cvar and it could be *WASTED* <name> : Message
thats just an example.. you can change it to anything.

if your running a zombie server (base builder / plague)
you can now set CT chat or T chat to show like this
(Human) <name> : Message
Dołączona grafika
(Zombie) <name> : Message
Dołączona grafika


this plugin also allows you to set a Community Tag Prefix for players to add to there name.
with a simple chat command and menu to select if you want tag or to cancel out.

Cvars


Spoiler




Code: // This Cvar Set To 1 Reloads All Prefixs Instantly
// Set To 0 Will Reset Prefixs After Map Change Or Server Restart

chat_tags_reload "1"

// Teams Prefix For Infront Of Your Name When You Use "say" command
// This Turns Teams Prefix On Or Off
// When This Is On Your Chat Will Look Like This
// "PREFIX" <Name> : Message
// When Its Set Off
// <Name> : Message

chat_team_tags "0" // Default Off For Regular Servers

// This Is The Prefix You Set For Counter-Terrorist Team
// You Can Set A Title For The Counter-Terrorist Team For Example
// If Your Running A JailBreak Server, chat_team_ct "(Guard) "
// If Your Running A Zombie Server, chat_team_ct "(Human) "

chat_team_ct ""

// This Is The Prefix You Set For Terrorist Team
// You Can Set A Title For The Terrorist Team For Example
// If Your Running A JailBreak Server, chat_team_ct "(Prisoner) "
// If Your Running A Zombie Server, chat_team_ct "(Zombie) "

chat_team_t ""

////////////////////////////////////////////////////////////////////

// These Prefixs Are Set To Default Values
// You Can Change Any To What Your Please.

// This One Is When Your Dead And You "say" Command
dead_chat_all_prefix "*DEAD* "

// This One Is When Your Dead And You "say_team" Command
dead_chat_prefix "(Dead) "

// This One Is When Your Terrorist And You "say_team" Command
t_chat_prefix "(Terrorist) "

// This One Is When Your Counter-Terrorist And You "say_team" Command
ct_chat_prefix "(Counter-Terrorist) "

// This One Is When Your Spectator And You "say" Command
spec_chat_all_prefix "*SPEC* "

// This Is When Your Spectator And You "say_team" Command
spec_chat_prefix "(Spectator) "

// This Is End Of Default Chat Functions.
/////////////////////////////////////////////////////////////////////

// Community Tag Prefix
// If Your Community Has A Tag You USe In Your Name In Game
// You Can Set It Here.
//
// If You Want The Community Tag To Save Permanenty After MapChange
// Set This To "1" or "0" For Temp Tags Single Maps Only.

chat_tag_save "1"

// You Can Either Set A Prefix Or Suffix Or You Can Set Just One.

chat_tag_prefix "" // This Value Gets Set Before Player Name
chat_tag_suffix "" // This Value Gets Set After Plyaer Name

// Usage Examples
// chat_tag_prefix "(TAG) "
// Will Look Like This (TAG) <name> : Message
// chat_tag_suffix " (TAG)"
// Will Look Like This <name> (TAG) : Message
// chat_tag_prefix "(TAG).:: "
// chat_tag_suffix " ::."
// Will Look Like This (TAG).:: <name> ::. : Message
//
//////////////////////////////////////////////////////////////////////

Client Command(s)

/tag
opens the communty tag menu asking them if they want to tag with the community tag or cancel.

Change Log


Spoiler


v1.0 initial public release


Attached Files Dołączona grafika Get Plugin or Get Source (CPM.sma - 7.1 KB) Dołączona grafika cpm.cfg (2.9 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych