Thread: nVault Tutorial
View Single Post
bibu
Veteran Member
Join Date: Sep 2010
Old 02-18-2012 , 11:35   Re: nVault
Reply With Quote #34

Thanks for the stock exolent. However, how should I check if the days expired, and then prune that key for the user? A general pruning doesn't work, since I don't know how to do that with your stock. Right now I have this:

PHP Code:
        new szDeathKey[41]
        
        
formatex(szDeathKeycharsmax(szDeathKey), "%s_DEATH"g_szAuthID[id])
    
        
//check here the days expired, and if so, prune that key
        
nvault_prune_key(g_score_vaultszDeathKeyget_systime(), 86400 get_pcvar_num(amx_death_expire_days)) 
Is that right like that?
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline