Raised This Month: $ Target: $400
 0% 

Waiting without creating timers?


Post New Thread Reply   
 
Thread Tools Display Modes
Theme97
Senior Member
Join Date: Mar 2009
Old 07-20-2009 , 07:02   Re: Waiting without creating timers?
Reply With Quote #11

Quote:
Originally Posted by Greyscale View Post
In Wazz's example I think it would be better practice to write to the datapack before sending the timer, although it works either way.
I don't think so. I believe the datapack is actually created (or just overwritten?) in CreateDataTimer(), as it often ended up being empty when I wrote values before it.

Also, Wiki is your friend, Dragonshadow.
Theme97 is offline
Dragonshadow
BANNED
Join Date: Jun 2008
Old 07-20-2009 , 07:53   Re: Waiting without creating timers?
Reply With Quote #12

Quote:
Originally Posted by Theme97 View Post
I don't think so. I believe the datapack is actually created (or just overwritten?) in CreateDataTimer(), as it often ended up being empty when I wrote values before it.

Also, Wiki is your friend, Dragonshadow.
Aha, I read the entire sourcemod scripting section but seem to have missed that...
Dragonshadow is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 07-20-2009 , 14:11   Re: Waiting without creating timers?
Reply With Quote #13

Quote:
Originally Posted by Theme97 View Post
I don't think so. I believe the datapack is actually created (or just overwritten?) in CreateDataTimer(), as it often ended up being empty when I wrote values before it.

Also, Wiki is your friend, Dragonshadow.

I missed that CreateDataTimer() hmm I'v never used that. Then it looks like your code would be correct.
__________________
Greyscale 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:43.


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