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

CS:GO - Show The Right Next Map - posted 9/6/2012


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

Napisano 07.09.2012 04:26

DescriptionThis is a simple plugin for CS:GO which hooks and intercepts the Next Map: *blah* message that CS:GO servers always print to chat at map end, and replaces it with a message indicating what SourceMod says the next map is going to be. Especially useful if you're using SM-based map voting on your CS:GO server.Why Do I Need This Plugin?If you never change/set the next map with SourceMod plugins (stock or otherwise), and won't ever have sourcemod-based map voting, you probably don't need this plugin.On the other hand, if you are thinking about using SourceMod map voting plugins, or otherwise want to use something in SourceMod to set the next map and can't figure out why that darn Next Map: chat message at map end STILL shows the wrong map even though the server changes to the "right" map (what SourceMod thinks will be next) - you might want to grab this plugin.Ideally, at some point SM will be able to set the CS:GO server's own nextmap value when an SM facility/plugin changes sm_nextmap, and nobody will need this plugin anymore. Until then, there is Show The Right Next Map.INSTALLATIONNo config files, translations files, or anything else extra to worry about. Just drop the .smx file right into your sourcemod base directory's plugins/ directory, and load the plugin, restart the server, change the map, etc. so the the plugin loads. sm plugins load csgo_strnm.smx will work if you have the plugin in the correct directory and don't want to restart the server etc. The correct directory will be addons/sourcemod/plugins/ for most people.CVAR'sThis is a very simple plugin. I do not plan to code an 'enabled' / 'disabled' CVAR into it. You either need it, or you don't. Don't load it if you don't need it. Dołączona grafikaThere is one public CVAR - csgo_strnm_version. It's purpose is to show the plugin version, and allow the "# of servers using this plugin" feature of the SM forums to work.CREDITSI'd like to thank Psychonic for providing the info on the TextMsg user message event to hook and the "#game_nextmap" data value to check the message for.MAINTENANCE / FEATURE REQUESTS / ETCI probably won't be doing a lot else with this plugin. It's really, really simple what it does and I don't want to complicate it (nor do I really have time).If you have a bug, post details, SM error logs, etc. here in this thread. I will not respond to PM's requesting support. Attached Files Dołączona grafika Get Plugin or Get Source (csgo_strnm.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