View Single Post
Author Message
tolpecek
Member
Join Date: Dec 2018
Old 01-02-2019 , 07:23   nvault load problem
Reply With Quote #1

hello, i am using nvault for saving stats on my server and i need help.
when loading bool info i have warning tag mis match
Code:
formatex( szKey , 127 , "%s-ID-Unlocks", g_AuthID[id]);
	formatex( szData , 1023 , "%i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i", 
	g_galil[id],g_aug[id],g_m4a1[id],g_famas[id],g_ak47[id],
	g_tmp[id],g_mp5[id],g_ump[id],g_p90[id],
	g_m3[id],g_xm1014[id],g_scout[id],g_awp[id],g_para[id],
	g_p228[id],g_five[id],g_elite[id],g_glock[id],g_deagle[id],
	g_zariche[id], g_apokalypsa[id],g_aura[id], glowBLUE[id], glowPURPLE[id], glowRED[id], glowWHITE[id], glowYELLOW[id], glowORANGE[id], glowLBLUE[id], glowGREEN[id]);
		
	nvault_get(g_Vault, szKey, szData, 1023)

	new galil[32],aug[32],m4a1[32],famas[32],ak47[32],
	tmp[32],mp5[32],ump[32],p90[32],
	m3[32],xm1014[32],scout[32],awp[32],para[32],
	p228[32],five[32],elite[32],glock[32],deagle[32], zariche[32], apokalypsa[32], aura[32], gblue[32], gpurp[32], gred[32], gwhit[32], gyell[32], goran[32], glblue[32], ggreen[32]
		
	parse(szData, galil, 31, aug, 31, m4a1, 31, famas, 31, ak47, 31,
	tmp, 31, mp5, 31, ump, 31, p90, 31,
	m3, 31, xm1014, 31, scout, 31, awp, 31, para, 31,
	p228, 31, five, 31, elite, 31, glock, 31, deagle, 31, zariche, 31, apokalypsa , 31, aura, 31, gblue, 31, gpurp, 31, gred, 31, gwhit, 31, gyell, 31, goran, 31, glblue, 31, ggreen, 31)
		
	g_galil[id] = str_to_num(galil)
	g_aug[id] = str_to_num(aug)
	g_m4a1[id] = str_to_num(m4a1)
	g_famas[id] = str_to_num(famas)
	g_ak47[id] = str_to_num(ak47)
		
	g_tmp[id] = str_to_num(tmp)
	g_mp5[id] = str_to_num(mp5)
	g_ump[id] = str_to_num(ump)
	g_p90[id] = str_to_num(p90)
		
	g_m3[id] = str_to_num(m3)
	g_xm1014[id] = str_to_num(xm1014)
	g_scout[id] = str_to_num(scout)
	g_awp[id] = str_to_num(awp)
	g_para[id] = str_to_num(para)
		
	g_p228[id] = str_to_num(p228)
	g_five[id] = str_to_num(five)
	g_elite[id] = str_to_num(elite)
	g_glock[id] = str_to_num(glock)
	g_deagle[id] = str_to_num(deagle)
	g_zariche[id] = str_to_num(zariche)
	g_apokalypsa[id] = str_to_num(apokalypsa)
	g_aura[id] = str_to_num(aura)
	
	glowLBLUE[id] = str_to_num(gblue) //warning
	glowPURPLE[id] = str_to_num(gpurp) //warning
	glowRED[id] = str_to_num(gred) //warning
	glowWHITE[id] = str_to_num(gwhit) //warning
	glowYELLOW[id] = str_to_num(gyell) //warning
	glowORANGE[id] = str_to_num(goran) //warning
	glowLBLUE[id] = str_to_num(glblue) //warning
	glowGREEN[id] = str_to_num(ggreen) //warning

Last edited by Seta00; 01-03-2019 at 08:03. Reason: Restore to previous version.
tolpecek is offline