View Single Post
Plugin Info:     Modification:          Category:          Approver:   Zenith77 (33)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 11-23-2007 , 06:06   GHW Connect Messages
Reply With Quote #1

  • This plugin shows connection messages when a player connects/disconnects.

Features:
  • Colored Text
  • Customizable
  • Connect/Disconnect Sounds

CVARs:
  • cm_connect_string - String that is displayed when a player connects
    • Default: "[AMXX] %name (%steamid) has connected (%country)."
  • cm_disconnect_string - String that is displayed when a player disconnects
    • Default: "[AMXX] %name (%steamid) has disconnected (%country)."
  • cm_flags - Flags for Customizing (Add the numbers up)
    • 1 - SHOW_COLOR (green)
    • 2 - SHOW_CONNECT
    • 4 - SHOW_DISCONNECT
    • 8 - PLAY_SOUND_CONNECT
    • 16 - PLAY_SOUND_DISCONNECT
    • Default: 31 (All)
  • cm_connect_sound - Sound file that is played on connect
    • Default: "buttons/bell1.wav" (Half-Life Sound)
  • cm_disconnect_sound - Sound file that is played on disconnect
    • Default: "fvox/blip.wav" (Half-Life Sound)

String Replace Characters:
  • %name - replaced with (dis)connecting player's name
  • %country - replaced with (dis)connecting player's country
  • %steamid - replaced with (dis)connecting player's steamid
  • %ip - replaced with (dis)connecting player's ip

Default Connect Message Appears As:
  • [AMXX] Name (STEAMID) has connected (country).
Attached Files
File Type: sma Get Plugin or Get Source (GHW_connect.sma - 44478 views - 5.5 KB)

Last edited by GHW_Chronic; 12-06-2009 at 23:50.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic