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

[ND] Commander Actions


  • 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 15.08.2012 01:34

You may have noticed that 1Swat2KillThemAll's Commander Management has been causing server crashes for quite a while now, and it seems to be related to the SQL Database used to save bans. He seems to be inactive on his thread, so I've written my own script to ban players from commanding using Keyvalues. (I didn't copy from his plugin, by the way. This is completely written by me.)Bans will be stored to an easily readable text file at: addons/sourcemod/commanderbans.txtCommands:
  • sm_setcommander - Promotes a player to commander.
  • sm_demotecommander - Demotes a team's commander.
  • sm_bancommander - Bans a player from commanding for the specified number of minutes. (0 = permanent ban)
  • sm_unbancommander - Remove a commander ban. (By name only works for connected players.)
  • sm_listcommanderbans - Prints commander bans in a list format.
Admin Menu Layout:

Commander Actions

Ban

  • [Choose time]

    Demote

    ConsortiumEmpire

    Set

    ConsortiumEmpire

    [List of players]

    Unban

    [List of banned players]

    Future Additions:[list]
  • Possibly translations
Change Log:(14 August 2012) V 1.0:**Initial release.&& I've also included a 'lite' addition of this plugin which only features the 'Set' and 'Demote' functions. Attached Files Dołączona grafika Get Plugin or Get Source (nd_commander_actions.sp - 18.8 KB) Dołączona grafika Get Plugin or Get Source (nd_commander_actions_lite.sp - 2.0 KB)

Wyświetl pełny artykuł




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

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