hey this is quite a nooby question
but ive saved a string in the vault like this
Code:
new query_name[32]
get_user_name(id,query_name,31)
new vaultkey[20], vaultdata[21]
format(vaultkey,19,"Record_Name");
format(vaultdata,20,"%s",query_name);
set_vaultdata(vaultkey,vaultdata)
and when the plugin registers i want it to get the name
so i put this
Code:
format(vaultkey,19,"Record_Name");
get_vaultdata(vaultkey,vault_data,20)
then i want to make a crecord_name (just a thing to store the name of the person with the most credits so i can display it to players) = vault_data but i dont know how. im guessing its quite simple tho ive tried
crecord_name = vault_data but i get compile errors