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

1337 Restarter


Post New Thread Reply   
 
Thread Tools Display Modes
mateo10
Veteran Member
Join Date: Jan 2006
Old 12-15-2006 , 09:54   Re: 1337 Restarter
Reply With Quote #51

Alright, I'll do it. Why I didn't do it in the beginning was because I thought that the HUD countdown would be messed up, but now I know better. I will change it.

EDIT: Done

Last edited by mateo10; 12-15-2006 at 10:02.
mateo10 is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 12-15-2006 , 13:43   Re: 1337 Restarter
Reply With Quote #52

to end the discussion on tasks, they are extremely inefficient and should only be used when the alternative is even more inefficient. and trust me when I know what I am talking about that multiple tasks will use up enough resources to crash a server. I'm not saying his will by any chance crash the server the way he had it, I am just using an extreme to prove my point of the inefficiency of tasks.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
mateo10
Veteran Member
Join Date: Jan 2006
Old 12-15-2006 , 16:00   Re: 1337 Restarter
Reply With Quote #53

So I don't need to change anything?
mateo10 is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 12-15-2006 , 18:12   Re: 1337 Restarter
Reply With Quote #54

yes. remove line 85:
Code:
set_task(1.0,"CountDown")
and replace line 64:
Code:
set_task(1.0, "CountDown")
with:
Code:
set_task(1.0, "CountDown",0,"",0,"b")
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
mateo10
Veteran Member
Join Date: Jan 2006
Old 12-16-2006 , 05:06   Re: 1337 Restarter
Reply With Quote #55

Done
mateo10 is offline
Pete Hobson
Junior Member
Join Date: May 2006
Old 12-22-2006 , 10:39   Re: 1337 Restarter
Reply With Quote #56

Yeah, this is cool, a HUD countdown, never seen it done before.
__________________
My last signature was not completley moronic.
Pete Hobson is offline
Send a message via AIM to Pete Hobson Send a message via MSN to Pete Hobson
mateo10
Veteran Member
Join Date: Jan 2006
Old 07-01-2009 , 08:37   Re: 1337 Restarter
Reply With Quote #57

New version out!
  • 1.4
    • [FIXED]
    • Moved the HUD-message up, so it won't
      bother users when playing.
    • [FIXED]
    • Changed the cvar 1337_restarttime to
      respond to minutes instead of seconds.
    • [FIXED]
    • Cleaned up code.

You will find the download at page one.
mateo10 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 04:02.


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