Raised This Month: $ Target: $400
 0% 

nvault_prune, does it accept unix timestamps?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 06-10-2006 , 18:16   nvault_prune, does it accept unix timestamps?
Reply With Quote #1

Was just confused as to what format the start + end should be in...

Thanks,
Josh
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 06-10-2006 , 19:47  
Reply With Quote #2

this should help

Code:
public cleanXP(bool:clearAll) {     if ( !clearAll && (!get_cvar_num("sh_savexp") || get_cvar_num("sh_xpsavedays") < 0)) return     if (clearAll)   nvault_prune(gVaultHandle, 0, 0)     else            nvault_prune(gVaultHandle, 0, get_systime() - (get_cvar_num("sh_xpsavedays") * 24 * 3600)) }
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 06-11-2006 , 04:35  
Reply With Quote #3

yes its a timestamp.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
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 08:00.


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