public kaydet(id){
new name[64],key[72], stats[34];
get_user_name(id, name, 63);
formatex(key, 71, "%s-esya_kayit32", name);
formatex(stats, 33, "%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#", bicak_kelebek[id], bicak_karambit[id], bicak_nova[id], bicak_bayonet[id], bicak_sex[id], m4a1_hyper[id], m4a1_nova[id], m4a1_keko[id], m4a1_cin[id], ak47_hyper[id], ak47_nova[id], ak47_keko[id], ak47_cin[id], awp_hyper[id], awp_nova[id], awp_keko[id], awp_cin[id], deagle_hyper[id], deagle_nova[id], aug[id], galil[id], p90[id], famas[id]);
nvault_set(esya_menu_kayit, key, stats);
}
public yukle(id){
new name[64],key[72], stats[34], stat[23][24];
get_user_name(id, name, 63);
formatex(key, 71, "%s-esya_kayit32",name);
nvault_get(esya_menu_kayit, key, stats, 33);
replace_all(stats , 33, "#", " ")
parse(stats, stat[0], 11,stat[1], 11,stat[2], 11,stat[3], 11,stat[4], 11,stat[5], 11,stat[6], 11,stat[7], 11,stat[8], 11,stat[9], 11,stat[10], 11,stat[11], 11,stat[12], 11,stat[13], 11,stat[14], 11,stat[15], 11,stat[16], 11,stat[17], 11,stat[18], 11,stat[19], 11,stat[20], 11,stat[21], 11,stat[22], 11);
bicak_kelebek[id] = str_to_num(stat[0]);
bicak_karambit[id] = str_to_num(stat[1]);
bicak_nova[id] = str_to_num(stat[2]);
bicak_bayonet[id] = str_to_num(stat[3]);
bicak_sex[id] = str_to_num(stat[4]);
m4a1_hyper[id] = str_to_num(stat[5]);
m4a1_nova[id] = str_to_num(stat[6]);
m4a1_keko[id] = str_to_num(stat[7]);
m4a1_cin[id] = str_to_num(stat[8]);
ak47_hyper[id] = str_to_num(stat[9]);
ak47_nova[id] = str_to_num(stat[10]);
ak47_keko[id] = str_to_num(stat[11]);
ak47_cin[id] = str_to_num(stat[12]);
awp_hyper[id] = str_to_num(stat[13]);
awp_nova[id] = str_to_num(stat[14]);
awp_keko[id] = str_to_num(stat[15]);
awp_cin[id] = str_to_num(stat[16]);
deagle_hyper[id] = str_to_num(stat[17]);
deagle_nova[id] = str_to_num(stat[18]);
aug[id] = str_to_num(stat[19]);
galil[id] = str_to_num(stat[20]);
p90[id] = str_to_num(stat[21]);
famas[id] = str_to_num(stat[22]);
}