 |
|
Member
|

09-08-2012
, 15:07
Re: 2 things
|
#5
|
Quote:
Originally Posted by Liverwiz
Here is a snippet of code from one of my plugins. Exactly what you're looking for. Hope this sends you on your way.
PHP Code:
if(!nvault_lookup(g_vaultHandle, sz_vaultKey, data, charsmax(data), timestamp))
{
frags = 0
nvault_set(g_vaultHandle, sz_vaultKey, "0")
if(get_pcvar_num(log_pcvar) == 1)
log_to_file(nVaultLogFile, "[BKF] User %s (%s) is a new client and has been added to the vault.", name, sz_vaultKey)
}
|
What to write ? I need more explanation
|
|
|
|