Raised This Month: $ Target: $400
 0% 

Getting freeze time period


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-23-2005 , 00:56   Getting freeze time period
Reply With Quote #1

Hey, how do I get the freeze time period? What's it called?

Not Round_Start:
Code:
    register_logevent("new_round",2,"1=Round_Start")
__________________
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
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 02-23-2005 , 01:57  
Reply With Quote #2

Well, do that and then in that function do:
Code:
set_task(float(get_cvar_num("sv_freezetime")), "after_freezetime")
That's what you want right?
__________________
twistedeuphoria is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-23-2005 , 02:40  
Reply With Quote #3

Hmm...If you look @ my thread called "Getting round start" you could prolly get a better idea @ what I want . But I didn't really mean Round Start, I meant the freeze time period.
__________________
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
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 02-23-2005 , 07:20  
Reply With Quote #4

Do what twistedeuphoria said in your round start handler and you after_freeztime function will be called when the freeze time is over.
__________________
hello, i am pm
PM 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 14:03.


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