yes im using Authid.. ,
as would be the other way? these is the LoadKarma function:
PHP Code:
stock LoadKarma(id)
{
new valut = nvault_open("Karma_System");
if(valut == INVALID_HANDLE)
set_fail_state("nValut returned Invalid-Handle");
new key[100], authid[33]
get_user_authid(id, authid, 32);
formatex(key, 99,"%sKarma", authid);
karma[id] = nvault_get(valut, key);
nvault_close(valut);
return PLUGIN_CONTINUE;
}