AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Getting freeze time period (https://forums.alliedmods.net/showthread.php?t=10560)

v3x 02-23-2005 00:56

Getting freeze time period
 
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")

twistedeuphoria 02-23-2005 01:57

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?

v3x 02-23-2005 02:40

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.

PM 02-23-2005 07:20

Do what twistedeuphoria said in your round start handler and you after_freeztime function will be called when the freeze time is over.


All times are GMT -4. The time now is 14:03.

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