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

Solved Get_gametime question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ricky
Senior Member
Join Date: Jul 2005
Old 08-17-2017 , 11:41   Get_gametime question
Reply With Quote #1

I am trying to figure out how to prevent a loop from being called before 1 minute into a new map. Need help filling in the blanks. Haven't tested the code knowing its incomplete.

Code:
public_init
{
if(get_gametime < 60.0) return
set_task(5.0, "something".....)
}

Last edited by HamletEagle; 08-17-2017 at 15:10. Reason: Don't blank your post.
Ricky is offline
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 08-17-2017 , 14:56   Re: Get_gametime question
Reply With Quote #2

Please don't blank posts. If you found a solution please share with everyone, because someone might ask the same question insted of searching....
__________________
simanovich is offline
Ricky
Senior Member
Join Date: Jul 2005
Old 08-19-2017 , 19:18   Re: Get_gametime question
Reply With Quote #3

The original code pasted works with "()" after get_gametime. Thanks.
Ricky 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:48.


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