AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   nvault_prune, does it accept unix timestamps? (https://forums.alliedmods.net/showthread.php?t=29697)

Geesu 06-10-2006 18:16

nvault_prune, does it accept unix timestamps?
 
Was just confused as to what format the start + end should be in...

Thanks,
Josh

jtp10181 06-10-2006 19:47

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)) }

Xanimos 06-11-2006 04:35

yes its a timestamp.


All times are GMT -4. The time now is 08:00.

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