Raised This Month: $32 Target: $400
 8% 

Lastround


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:          Approver:   Johnny got his gun (102)
bAnTAi
Junior Member
Join Date: Mar 2004
Old 06-11-2004 , 06:56   Lastround
Reply With Quote #1

A small plugin which prevents the last round from being cut-off because the map-time ran out.

When there is only enough time for one more round, a message saying The final round is coming up is displayed.

At the start of the final round, the message This is the final round is displayed so players dont miss spending all their money.

Finally when the last round is over no players are allowed to move, and all their weapons are dropped to prevent spawn killings. The message Thank you for playing. Now switching to <nextmap> is displayed (<nextmap> replaced by the actual map coming next ).

NOTE
Since this plugin changes the time a map is played to give room for late bombplantings etc, the amx_timeleft function will not be accurate (minor issue).
Attached Files
File Type: sma Get Plugin or Get Source (lastround.sma - 15271 views - 3.2 KB)
bAnTAi is offline
BugsBunny
Member
Join Date: Apr 2004
Location: Queens NY
Old 06-11-2004 , 07:10  
Reply With Quote #2

Nice, it reminds me of Deagles plugin back in AMX mod.

http://djeyl.net/forum/index.php?showtopic=28679&st=0&hl=deagsmapman age210i\.amx[/url]
BugsBunny is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 06-11-2004 , 07:29  
Reply With Quote #3

An alternative is to use mp_maxrounds 20 and mp_timelimit 0. Then you will always have full rounds.
Johnny got his gun is offline
bAnTAi
Junior Member
Join Date: Mar 2004
Old 06-11-2004 , 07:36  
Reply With Quote #4

Quote:
Originally Posted by Johnny got his gun
An alternative is to use mp_maxrounds 20 and mp_timelimit 0. Then you will always have full rounds.
Sure, if you always want to play 20 rounds. This is if you want to spend the same amount of time on each map... imagine 20 round on cs_italy *yawn*...
bAnTAi is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 06-11-2004 , 10:53  
Reply With Quote #5

Quote:
Originally Posted by BugsBunny
Nice, it reminds me of Deagles plugin back in AMX mod.

http://djeyl.net/forum/index.php?showtopic=28679&st=0&hl=deagsmapman age210i\.amx[/url]
That he then ported over to AMXX.

http://forums.alliedmods.net/showthread.php?p=5867
Brad is offline
BugsBunny
Member
Join Date: Apr 2004
Location: Queens NY
Old 06-11-2004 , 11:24  
Reply With Quote #6

Thanks Khoralt I am going to use that instead Deagle Is great and thanks for Bigballer.
BugsBunny is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 06-11-2004 , 14:43  
Reply With Quote #7

Quote:
Originally Posted by BugsBunny
Thanks Khoralt I am going to use that instead Deagle Is great and thanks for Bigballer.
Actually, Bugblatter is great.
http://www.ravenousbugblatterbeast.p...Docs/index.htm

Deagle was good enough to port Bug's plugin (for AdminMod) over to AMX and then from AMX to AMXX. However, by far and large, it's Bugblatter's code, not Deagle's.
Brad is offline
Noizza
Senior Member
Join Date: Apr 2004
Location: Vienna (PROUD)
Old 06-11-2004 , 18:38  
Reply With Quote #8

and what if a voting changes the level?
will the map change or will the plugin waits until round end?
__________________
Quote:
Originally Posted by Johnny got his gun
Read the plugin posting rules. They apply to everyone, including you.
kk...
#include <noizza>
lol

try my Server!
193.53.80.122:27016 Super-Fun Server [SHmod+DM]
Noizza is offline
Send a message via ICQ to Noizza
RPG
Senior Member
Join Date: Aug 2005
Old 02-08-2006 , 16:26  
Reply With Quote #9

Well I use this plugin but it be lot better if.:
After last round play, all players get stoped and weapons a droped, but they still can buy them.
Need to stop buy.
And time to long on last response, Next map ....
It's should give about 3 sec not about 6 or more.
RPG is offline
MattOG
Senior Member
Join Date: May 2005
Old 02-08-2006 , 17:05  
Reply With Quote #10

Quote:
Originally Posted by RPG
Well I use this plugin but it be lot better if.:
After last round play, all players get stoped and weapons a droped, but they still can buy them.
Need to stop buy.
And time to long on last response, Next map ....
It's should give about 3 sec not about 6 or more.
open the .sma with notepad and change the line

Code:
                set_task(6.0, "changeMap", CHANGE_MAP_TASK);

to

Code:
                set_task(2.0, "changeMap", CHANGE_MAP_TASK);

and then re-compile & re-install the plugin.
__________________

+Karma If I helped
MattOG 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 20:08.


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