Raised This Month: $158 Target: $400
 39% 

[INS] Join Messages - Insurgency


Post New Thread Reply   
 
Thread Tools Display Modes
Author
InsurgencyANZ
Junior Member
Join Date: Apr 2015
Location: Melbourne, Australia
Plugin ID:
4612
Plugin Version:
2.0
Plugin Category:
All
Plugin Game:
Insurgency (2014)
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Displays a join message (similar to disconnect) when someone connects
    Old 04-19-2015 , 09:50   [INS] Join Messages - Insurgency
    Reply With Quote #1

    Join Messages for Insurgency (2014)

    DESCRIPTION
    Displays a message "PLAYER_NAME joined the fight." when someone connects to the server.
    By default, only disconnections of connection drops are displayed, so I have added connecting messages with the same style.
    To avoid false positives, etc. the message only appears when a player has SUCCESSFULLY connected and is IN the server.

    CVAR LIST
    Quote:
    sm_joinmsg_enabled 1 // (1) Enables, (0) Disables
    CHANGELOG
    Quote:
    Version 1.0 (15-04-15)
    Initial Release

    Version 2.0 (19-04-15)
    Added g_CvarEnabled to turn on and off
    INSTALLATION
    Place "joinmsg.smx" in "addons/sourcemod/plugins/" and then restart the server. Presto!
    ("plugin.joinmsg.cfg" is automatically generated in "insurgency/cfg/sourcemod/" with the Cvar, if you want to disable it, change 1 to 0.)
    Attached Files
    File Type: sp Get Plugin or Get Source (joinmsg.sp - 1108 views - 857 Bytes)
    __________________
    [AUR] Ace
    Insurgency ANZ Founder | Aussie Rebels Co-Founder
    www.InsurgencyANZ.com | www.AussieRebels.org

    Last edited by InsurgencyANZ; 04-19-2015 at 09:51.
    InsurgencyANZ is offline
    Send a message via Skype™ to InsurgencyANZ
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 11-05-2015 , 02:34   Re: [INS] Join Messages - Insurgency
    Reply With Quote #2

    You should use %N instead of GetClientName.
    See https://wiki.alliedmods.net/Format_C...d_Scripting%29 for details
    __________________
    DarthNinja 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 05:44.


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