Raised This Month: $ Target: $400
 0% 

Change at each Hours


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
titics
Junior Member
Join Date: Jan 2006
Old 03-23-2006 , 08:16   Change at each Hours
Reply With Quote #1

Ello everyone,

i searched one plugin which change some cvar @ some Hours.
I give one example:

AT 16:00 sv_gravity =200
AT 17:00 sv_gravity=800 | mp_friendlyfire =1

i thought there had one plugin which do it but i cant find it.
Maybe someone can help me

Thx in advance
__________________
titics is offline
Rixorster
Senior Member
Join Date: Jul 2005
Old 03-23-2006 , 08:21  
Reply With Quote #2

Maybe you could check...
http://www.amxmodx.org/funcwiki.php?go=func&id=249
Or
http://www.amxmodx.org/funcwiki.php?go=func&id=251
__________________
You never know, what will happen the day after tomorrow...

+karma if i helped you!
Rixorster is offline
titics
Junior Member
Join Date: Jan 2006
Old 03-23-2006 , 08:48  
Reply With Quote #3

i think there is allready one plugin which do it but dont remember name ;)
__________________
titics is offline
titics
Junior Member
Join Date: Jan 2006
Old 03-23-2006 , 09:20  
Reply With Quote #4

Code:
public load_mapcycle() 
{ 
   new today_str[8], cmd[48] 
   get_time("%H",today_str,8) 
   new today = strtonum(today_str) 

   if ((today >= 0) && (today < 9)) 
      format(cmd,48,"mapcyclefile addons/amxmodx/mapcycles/morning.cfg",today) 
   else if ((today >= 9) && (today < 18)) 
      format(cmd,48,"mapcyclefile addons/amxmodx/mapcycles/day.cfg",today) 
   else if (today >= 18) 
      format(cmd,48,"mapcyclefile addons/amxmodx/mapcycles/evening.cfg",today) 

   server_cmd(cmd) 

   return PLUGIN_HANDLED 
}
i would do the same thing but for for example sv_gravity.
what its possible ?
__________________
titics is offline
titics
Junior Member
Join Date: Jan 2006
Old 03-30-2006 , 04:03  
Reply With Quote #5

someone can help me pls for it

Thx in advance
__________________
titics is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-30-2006 , 04:43  
Reply With Quote #6

What's the problem?
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x 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 16:44.


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