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

[Any?] Name Character Replacer


  • 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 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 26.11.2012 18:12

Character Replacer!Description: THis was made by request and i really wanted it too, it would deem useful with servers that like to enforce rules but rather not guess a client's name with special characters in his/her name.Cvars: sm_replacecharacters_versionCommands: sm_reloadchar - refreshes the config (below)Config: (configs/charconfig.cfg) Code: "CharConfig"{ "†" //Character to Find { "replace" "t" //Character to replace with } "∅" { "replace" "o" } "®" { "replace" "r" } "ü" { "replace" "u" } "₤" { "replace" "e" }}The config will automatically choose the first match it finds, so if you have two '†' in the config it will replace with the first one, and the second one will be a waste of space.THE CONFIG MUST, MUST BE IN UTF-8, or it wont read the characters right.Release Notes: Code: [1.0.2] (11/26/12) - Added 'quote' to the config as an alias to "[1.0.2] (11/26/12) - Initial Release.Notes: I plan on adding a feature that if it is not "A-Z,a-z,0-9,!@#$%^&*()_-+=[]:;'"|.,/?><{}" then it makes the character a 'flagged' character, if there are too many characters (Clients name size / cvar * 100 == 60%) then it will change the clients name to a random generic name.Also, if you would like to paste your config here to help out other server admins, then do so. all help is needed :) Attached Files Dołączona grafika charconfig.cfg (806 Bytes) Dołączona grafika Get Plugin or Get Source (ReplaceChar.sp - 3.2 KB)

Wyświetl pełny artykuł




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

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