How it is work?
What really do this native?Here :
http://www.amxmodx.org/funcwiki.php?...time&go=search , I saw that count the seconds from 1 January 1970...Then this expression it's wrong for me:
Code:
nvault_prune(gVaultHandle, 0, get_systime() - (xpSaveDays * 24 * 3600))
If you make the difference betwen seconds elapsed since 1970 and a week (for example), you will get a result wich is in past, not in future.So...how this native work?
I think that the correct expression is
Code:
nvault_prune(gVaultHandle, 0, get_systime() + (xpSaveDays * 24 * 3600))
This is a line from SuperHero Mod...what I am trying to do is a message wich will be shown in the last X days before reset of experience.The problem is that I can't understand how work get_systime native...