AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   SourceForts - Roundsleft (https://forums.alliedmods.net/showthread.php?t=56190)

kill0r 06-08-2007 12:00

SourceForts - Roundsleft
 
2 Attachment(s)
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).

Knagg0 06-08-2007 12:25

Re: [PLUGIN] SourceForts - Roundsleft
 
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();


kill0r 06-08-2007 12:26

Re: [PLUGIN] SourceForts - Roundsleft
 
Quote:

Originally Posted by Knagg0 (Post 487040)
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 :D

kill0r 06-08-2007 12:38

Re: [PLUGIN] SourceForts - Roundsleft
 
Ok there is a new version, see starting thread.

FlyingMongoose 06-08-2007 12:58

Re: [PLUGIN] SourceForts - Roundsleft
 
your best option (at the moment) for coding documentation is looking through the *.inc files in the sourcemod/scripting/include/ dir.

kill0r 06-08-2007 13:13

Re: [PLUGIN] SourceForts - Roundsleft
 
Quote:

Originally Posted by FlyingMongoose (Post 487057)
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 :)

FlyingMongoose 06-08-2007 15:10

Re: [PLUGIN] SourceForts - Roundsleft
 
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.

kill0r 06-08-2007 15:31

Re: [PLUGIN] SourceForts - Roundsleft
 
Quote:

Originally Posted by FlyingMongoose (Post 487098)
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.

FlyingMongoose 06-08-2007 16:44

Re: [PLUGIN] SourceForts - Roundsleft
 
That's a good idea too

kill0r 06-10-2007 06:29

Re: [PLUGIN] SourceForts - Roundsleft
 
New Version: It's working now for say_team and after map_restart too :-)


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

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