Raised This Month: $51 Target: $400
 12% 

SourceForts - Roundsleft


Post New Thread Reply   
 
Thread Tools Display Modes
Author
kill0r
Junior Member
Join Date: Jun 2007
Plugin ID:
20
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
SourceForts
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 06-08-2007 , 12:00   SourceForts - Roundsleft
    Reply With Quote #1

    Version 0.5.0.5


    Warning:
    This plugin is made for SourceFortsMod, don't try to use it in other mods.

    Description:
    It will reply to say-roundsleft and cvar-roundsleft, it'll show the combatrounds left before mapchange.
    It's working for dedicated serverconsole, hlsw-rcon, etc. too.

    client&server console cmd:
    roundsleft - it'll reply only to you in chat (a copy of the message will be shown in your console).

    client&server say cmds:
    roundsleft - all will see the combatrounds left.
    /roundsleft - silent say, like the console-cmd roundsleft.

    client&server say_team cmds:
    roundsleft - team will see the combatrounds left.
    /roundsleft - silent say, like the console-cmd roundsleft.

    server convars:
    info_roundsleft - for hlsw and other tools, value 0 means Unknown/Disabled, 1="This is the last round.", 2="2 rounds left", etc.

    Don't forget to download the translationfile to addons/sourcemod/translations/plugin.sfroundsleft.cfg

    changelog:
    0.4.5.5 (2007-06-10):
    - added say_team-roundsleft.
    - now working correctly after map_restart x.
    0.5.0.5 (2007-06-10):
    - added "info_roundsleft", if this plugin gets unloaded info_roundsleft will be 0 (otherwise hlsw would display wrong information about roundsleft).
    Attached Files
    File Type: cfg plugin.sfroundsleft.cfg (533 Bytes, 593 views)
    File Type: sp Get Plugin or Get Source (sfroundsleft.sp - 1603 views - 8.8 KB)

    Last edited by BAILOPAN; 06-27-2007 at 02:40. Reason: new version
    kill0r is offline
    Knagg0
    SourceMod Donor
    Join Date: Dec 2005
    Location: Germany
    Old 06-08-2007 , 12:25   Re: [PLUGIN] SourceForts - Roundsleft
    Reply With Quote #2

    Code:
    /**
     * Called when the map is loaded.
     *
     * @note This used to be OnServerLoad(), which is now deprecated.
     * Plugins still using the old forward will work.
     */
    forward OnMapStart();
    
    /**
     * Called right before a map ends.
     */
    forward OnMapEnd();
    __________________

    MFZB Gaming Community

    [ www.mfzb.de ]

    Knagg0 is offline
    kill0r
    Junior Member
    Join Date: Jun 2007
    Old 06-08-2007 , 12:26   Re: [PLUGIN] SourceForts - Roundsleft
    Reply With Quote #3

    Quote:
    Originally Posted by Knagg0 View Post
    Code:
    /**
     * Called when the map is loaded.
     *
     * @note This used to be OnServerLoad(), which is now deprecated.
     * Plugins still using the old forward will work.
     */
    forward OnMapStart();
    
    /**
     * Called right before a map ends.
     */
    forward OnMapEnd();
    thx a lot, and i searched >50minutes for it, damn
    kill0r is offline
    kill0r
    Junior Member
    Join Date: Jun 2007
    Old 06-08-2007 , 12:38   Re: [PLUGIN] SourceForts - Roundsleft
    Reply With Quote #4

    Ok there is a new version, see starting thread.

    Last edited by kill0r; 06-08-2007 at 13:59.
    kill0r is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 06-08-2007 , 12:58   Re: [PLUGIN] SourceForts - Roundsleft
    Reply With Quote #5

    your best option (at the moment) for coding documentation is looking through the *.inc files in the sourcemod/scripting/include/ dir.
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    kill0r
    Junior Member
    Join Date: Jun 2007
    Old 06-08-2007 , 13:13   Re: [PLUGIN] SourceForts - Roundsleft
    Reply With Quote #6

    Quote:
    Originally Posted by FlyingMongoose View Post
    your best option (at the moment) for coding documentation is looking through the *.inc files in the sourcemod/scripting/include/ dir.
    Thank you, but I already found it
    kill0r is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 06-08-2007 , 15:10   Re: [PLUGIN] SourceForts - Roundsleft
    Reply With Quote #7

    Yes I know, but I'm just pointing that out to you for later reference. Good job so far ;).

    I know someone who had a request for sourceforts that involves per-player "Grav-Gun" limitation (I think) I'll ask for specifics, he says it's annoying when noobs try to take down the structures of the more experienced during the build phase.
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    kill0r
    Junior Member
    Join Date: Jun 2007
    Old 06-08-2007 , 15:31   Re: [PLUGIN] SourceForts - Roundsleft
    Reply With Quote #8

    Quote:
    Originally Posted by FlyingMongoose View Post
    Yes I know, but I'm just pointing that out to you for later reference. Good job so far ;).

    I know someone who had a request for sourceforts that involves per-player "Grav-Gun" limitation (I think) I'll ask for specifics, he says it's annoying when noobs try to take down the structures of the more experienced during the build phase.
    Well... that limitation thing is an other idea to reduce griefing, but I'm thinking about a block-lock plugin for admins to prevent unfreezing them.
    kill0r is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 06-08-2007 , 16:44   Re: [PLUGIN] SourceForts - Roundsleft
    Reply With Quote #9

    That's a good idea too
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    kill0r
    Junior Member
    Join Date: Jun 2007
    Old 06-10-2007 , 06:29   Re: [PLUGIN] SourceForts - Roundsleft
    Reply With Quote #10

    New Version: It's working now for say_team and after map_restart too :-)

    Last edited by kill0r; 06-10-2007 at 08:00.
    kill0r is offline
    Reply



    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 12:44.


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