Raised This Month: $ Target: $400
 0% 

SM Nextmap Info - Countdown and MapEnd - GunGame Support


Post New Thread Reply   
 
Thread Tools Display Modes
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 08-29-2008 , 19:28   Re: SM Nextmap Info
Reply With Quote #11

Quote:
Originally Posted by zerak View Post
It is a neat and simple plugin indeed that will fit a lot of people but my points was if you are bored you could expand it to consider other parameters for mapchange like winlimit and roundlimit etc. instead of only timelimit.

Code:
public CvarChange_Timelimit(Handle:cvar, const String:oldvalue[], const String:newvalue[])
{
    if(StringToInt(newvalue) == 1){
        InitTimer();
    }
}
I might be wrong here but shouldn't it be > 0 instead, this will still cause a problem when set to 0 (infinity) but I don't know if that could be avoided (that is if the function is called for invalid values)

Code:
public CvarChange_Timelimit(Handle:cvar, const String:oldvalue[], const String:newvalue[])
{
    if(StringToInt(newvalue) > 0 ){
        InitTimer();
    }
}
StringToInt
Thanks mate!
++
I wrote the plugin a long long time ago and I don't know why I have written this!
I will look at the plugin closer tomorrow.
__________________
SWAT_88 is offline
YellowCakeKlan
Junior Member
Join Date: Aug 2008
Old 08-30-2008 , 01:11   Re: SM Nextmap Info
Reply With Quote #12

i'll wait until it has that countdown until map ends
YellowCakeKlan is offline
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 08-30-2008 , 17:35   Re: SM Nextmap Info
Reply With Quote #13

Fixed some bugs.
I will add the features tomorrow.

Have Fun!
__________________
SWAT_88 is offline
GyroTarzan
Member
Join Date: Feb 2007
Location: Sweden
Old 09-05-2008 , 13:37   Re: SM Nextmap Info
Reply With Quote #14

How does it go with this plugin?
__________________
Best regards
GyroTarzan
GyroTarzan is offline
Send a message via ICQ to GyroTarzan Send a message via MSN to GyroTarzan
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 09-05-2008 , 17:42   Re: SM Nextmap Info
Reply With Quote #15

Added the requested features.

Have Fun!
__________________
SWAT_88 is offline
GyroTarzan
Member
Join Date: Feb 2007
Location: Sweden
Old 09-06-2008 , 04:48   Re: SM Nextmap Info - Countdown and MapEnd
Reply With Quote #16

Thanks SWAT_88 for added my request (Countdown)
__________________
Best regards
GyroTarzan
GyroTarzan is offline
Send a message via ICQ to GyroTarzan Send a message via MSN to GyroTarzan
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 09-14-2008 , 17:34   Re: SM Nextmap Info - Countdown and MapEnd - GunGame Support
Reply With Quote #17

New Version!

Now with GunGame Support!

Have Fun!
__________________
SWAT_88 is offline
ShellShock
Member
Join Date: Jul 2008
Old 09-14-2008 , 23:16   Re: SM Nextmap Info - Countdown and MapEnd - GunGame Support
Reply With Quote #18

Where are these located on the screen are they hsay csay? -
Panel, BottomCenter.
ShellShock is offline
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 09-15-2008 , 13:18   Re: SM Nextmap Info - Countdown and MapEnd - GunGame Support
Reply With Quote #19

Quote:
Originally Posted by ShellShock View Post
Where are these located on the screen are they hsay csay? -
Panel, BottomCenter.
Panel = Menu = msay
BottomCenter = hsay

Have Fun!
__________________
SWAT_88 is offline
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 09-22-2008 , 14:27   Re: SM Nextmap Info - Countdown and MapEnd - GunGame Support
Reply With Quote #20

Fixed a bug, should now work on any mod.

Have Fun!
__________________
SWAT_88 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 07:52.


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