looks fine to me, just change two things:
1) change your PLUGIN_VAULT to something other than avp_vault, so our plugins have different vaults.
2)instead of this:
Code:
format(key, 61,"%s-points", authid);
format(value, 9,"%d", neededxp[id]);
nvault_set(vault, key, value);
I think this would work:
Code:
format(key, 61,"%s-points", authid);
nvault_set(vault, key, neededxp[id]);
do it like that because of your extraction of the data in loadXP
__________________