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] Favorite Connections: Messages (v1.0, 2015-2-17)


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

Napisano 18.02.2015 03:25

<p>

[ANY] Favorite Connections: Messages



Description:
This plugin detects whenever a player connects via server favorites tab and sends him/her custom messages. Furthermore, this plugin supports More Colors.

I am fully open to suggestions, so suggest away! :)

Dependencies:CVARS:

Use %PLAYER_NAME% to include a player's name in the message.
For a list of all usable colors, go here
  • favoriteconnections_messages_version - Plugin version, no touchy!
  • favoriteconnections_messages_enable [1/0] - (Default = 1) Enable = 1 Disable = 0
  • favoriteconnections_messages_broadcastmode [0/1/2/3] - (Default = 1) Broadcast a message to everyone on the server that a player joined through favorites (Does not show for the user who joined through favorites).

    0 = Don't broadcast any messages
    1 = Broadcast the message to the chat only
    2 = Broadcast the message to the center of the screen only
    3 = Broadcast the message to both chat and center of the screen

  • favoriteconnections_messages_broadcastchat "" - (Default = "{green}%PLAYER_NAME% {orange}joined the server through his/her {blue}favorites{orange}!") The broadcast message that gets sent to the chat (Supports colors).
  • favoriteconnections_messages_broadcastcenter "" - (Default = "%PLAYER_NAME% joined the server through his/her favorites!") The broadcast message that gets sent to the center of the screen (Doesn't support colors).
  • favoriteconnections_messages_notifymode [0/1/2/3] - (Default = 1) Send the user who joined through favorites a message when they are fully in game. (Only displays to the user who joined via favs).

    0 = Don't send any messages
    1 = Send the message to the chat only
    2 = Send the message to the center of the screen only
    3 = Send the message to both chat and center of the screen

  • favoriteconnections_messages_notifychat "" - (Default = "{orange}Thank you, {green}%PLAYER_NAME%{orange}, for adding us to your favorites!") Send a message to the player's chat who joined thru favs (Supports colors).
  • favoriteconnections_messages_notifycenter "" - (Default = "Thank you, %PLAYER_NAME%, for adding us to your favorites!") Send a message to the center of the screen of the player who joined thru favs (Doesn't support colors).
Also Check Out:Installation:
  • Download favoriteconnections.smx and place it in the (game)/addons/sourcemod/plugins/ folder.
  • Install More Colors.
  • Download the favoriteconnections_messages.smx attached below (Get Plugin doesn't work) and install it to your (game)/addons/sourcemod/plugins/ folder.
  • Restart your server, or reload the map.
To-Do List:
  • (None yet)
Changelog:


Spoiler

  • v1.0, 2015-2-17

    * Initial release.

Attached Files Dołączona grafikaGet Plugin or Get Source (favoriteconnections_messages.sp - 5.0 KB) Dołączona grafikafavoriteconnections_messages.smx (11.0 KB)

Wyświetl pełny artykuł




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

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