Raised This Month: $ Target: $400
 0% 

Need help adding to this plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
llustig
Senior Member
Join Date: Oct 2004
Old 10-27-2006 , 03:10   Need help adding to this plugin
Reply With Quote #1

http://forums.alliedmods.net/showthread.php?t=2808


I was wondering if anybody could make this plugin so that the server will let people finish up the last round before the map changes intead of going by the actual mp_timelimit.

I know there's a plugin like lastround.amxx but it seems like they won't work together properly due to lastround.amxx changing the timelimit around.

Kinda similar to what deagle's map management plugin has but I would just like the lastround extended so that people can finish up the round with this plugin.

Thanks.
__________________
llustig is offline
Send a message via AIM to llustig
Rolnaaba
Veteran Member
Join Date: May 2006
Old 10-27-2006 , 09:53   Re: Need help adding to this plugin
Reply With Quote #2

when mp_timelimit runs out and it is map change time use a boolean to see if it is time to change next round ex:
Code:
new bool:TimetoChange   public new_round_event() {      if(TimetoChange == true) {           //change map      } }
and then after map change set the boolean to false and after the time runs out and it is time to change maps, instead of changing set this boolean to true and upon next round check it and change if needed.
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
llustig
Senior Member
Join Date: Oct 2004
Old 10-27-2006 , 16:45   Re: Need help adding to this plugin
Reply With Quote #3

i don't quite understand where you're coming from
__________________
llustig is offline
Send a message via AIM to llustig
blade12
BANNED
Join Date: Oct 2006
Old 10-27-2006 , 18:33   Re: Need help adding to this plugin
Reply With Quote #4

he wants a plugin that extends at the end of round to let players finish the round here u are mate
look at these lines in your amxx.cfg
Code:
      
// Max. time to which map can be extended amx_extendmap_max 90 // Step for each extending amx_extendmap_step 15
and put
Code:
// Max. time to which map can be extended
amx_extendmap_max 300

// Step for each extending
amx_extendmap_step 15

Last edited by blade12; 10-27-2006 at 18:36.
blade12 is offline
Imanoobie
BANNED
Join Date: Sep 2006
Old 10-28-2006 , 15:18   Re: Need help adding to this plugin
Reply With Quote #5

Wrong answer, blade
Imanoobie is offline
llustig
Senior Member
Join Date: Oct 2004
Old 10-28-2006 , 16:13   Re: Need help adding to this plugin
Reply With Quote #6

Quote:
Originally Posted by blade12 View Post
he wants a plugin that extends at the end of round to let players finish the round here u are mate
look at these lines in your amxx.cfg
Code:
      
// Max. time to which map can be extended amx_extendmap_max 90 // Step for each extending amx_extendmap_step 15
and put
Code:
// Max. time to which map can be extended
amx_extendmap_max 300

// Step for each extending
amx_extendmap_step 15

I do appreciate your help but I don't think this is correct.

All that would do is extend the map if the players vote extend map.

I want something that will extend the map after the voting is over so that the players can finish up the last round instead of having it to change when the mp_timelimit runs out.
__________________
llustig is offline
Send a message via AIM to llustig
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 07:25.


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