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

[forums.alliedmods.net] [ANY?] No Name Change (0.0.1)


  • 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 21.04.2012 00:53

Description:
  • This was reusted in the gameplay ideas, i thought it would be nice to have.
  • What this does its it saves the player's name (with SQLite) so when he leaves, and joins back, before the time (set) is up then it will not update to his new name, it will use his old name.
  • Advantages: Stops player name changing constantly, stops people from chatting with their names, also could stop posers (client quits then rejoins with admin name to pose as an admin).
  • Disadvantages: Spams chat when some one trys to set their name? (any idea how to block the usermessage?), Some admins might get mad at this idea, but heck its a good idea.
Features:
  • Ability to stop players from changing their names while in the server
  • Player must leave then change their name, then join the server.
  • using the sm_nnc_time cvar it can stop people from changing their name until that time runs out.
  • More to come!
ConVars:
  • sm_nnc_time - Set to 0 to disable the plugin, or any number (minutes)
    Floats have NO effect.
Installation:
  • /sourcemod/scripting/NoNameChange.sp
  • /sourcemod/plugins/NoNameChange.smx
Credits:

NOTE
I have only tried this out in CSS, but if you get this working on your other server (NEOTOKYO, etc.), Please Post!



Attached Files Dołączona grafika Get Plugin or Get Source (NoNameChange.sp - 5.0 KB)

Wyświetl pełny artykuł




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

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