Monthly Target: $400 Donations: $126
 31% 

[CS:GO] Connect/Disconnect message


Post New Thread Reply   
 
Thread Tools Display Modes
Author
JOMENVEST
Member
Join Date: Dec 2016
Location: Sweden
Plugin ID:
5459
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A plugin which allow you and all the connected players on the server to see info about connecting/disconnecting players
    Old 12-26-2016 , 11:44   [CS:GO] Connect/Disconnect message
    Reply With Quote #1

    Connect/Disconnect Message

    Description:
    A plugin which allow you and all the connected players on the server to see info in form of tag, name, steamid and country of connecting/disconnecting players in the chat.
    Easy to edit by using the CVARS, if you for example would like to only show name and steamid in the messages and so on.

    CVARS:
    • sm_connectmsg - Shows connecting messages
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    • sm_disconnectmsg - Shows disconnecting messages
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    • sm_steamidmsg - Shows the STEAMID in messages
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    • sm_countrymsg - Shows the COUNTRY in messages
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    • sm_plusminusmsg - Shows the +/- in the messages (sm_tagmsg must be 0 - disable)
      0 = Disable | 1 = Enable
      Default: "0" - Disable
    • sm_tagmsg - Shows the Player TAG in messages (sm_plusminusmsg must be 0 - disable)
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    • sm_admintagmsg - Shows the ADMIN tag for flag b in messages (sm_tagmsg must be 1 - enable)
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    Installation:
    • Put connectmessage.smx to sourcemod/plugins
    • Put connectmessage.sp to sourcemod/scripting
    Attached Files
    File Type: sp Get Plugin or Get Source (connectmessage.sp - 265 views - 6.7 KB)

    Last edited by JOMENVEST; 12-29-2016 at 14:25.
    JOMENVEST is offline
    xines
    Veteran Member
    Join Date: Aug 2013
    Location: Denmark
    Old 12-26-2016 , 11:56   Re: [CS:GO] Connect/Disconnect message
    Reply With Quote #2

    So basically this is the same as "Cannonce" https://forums.alliedmods.net/showthread.php?p=683858 Just simpler.

    Also If you want i could easly rewrite this to the Transitional Syntax if you want me - Done.
    __________________

    Last edited by xines; 12-27-2016 at 13:19.
    xines is offline
    JOMENVEST
    Member
    Join Date: Dec 2016
    Location: Sweden
    Old 12-26-2016 , 17:31   Re: [CS:GO] Connect/Disconnect message
    Reply With Quote #3

    Updated, now with CVARs which allows you to either enable or disable admin/player tags.
    JOMENVEST is offline
    Phorce_Phed
    Member
    Join Date: Jun 2006
    Old 01-16-2017 , 23:45   Re: [CS:GO] Connect/Disconnect message
    Reply With Quote #4

    Nice. Can the message show up in console as well?
    Phorce_Phed is offline
    xines
    Veteran Member
    Join Date: Aug 2013
    Location: Denmark
    Old 01-17-2017 , 12:15   Re: [CS:GO] Connect/Disconnect message
    Reply With Quote #5

    Quote:
    Originally Posted by Phorce_Phed View Post
    Nice. Can the message show up in console as well?
    Yes it can be modified to work with: https://sm.alliedmods.net/new-api/co...PrintToConsole
    __________________
    xines is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 06:47.


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode