Why it don't work? Load MYSQL
#5

I try put

my matrix
Код:
enum Factioninfos
{
    ID,
    facname[32],
	hq,
    Float:HQposX,
    Float:HQposY,
    Float:HQposZ,
	cofredinheiro,
	cofresalario,
	cofrematerial,
	cofremaconha,
	lider1[30],
	lider2[30],
	lider3[30],
	membro1[30],
	membro2[30],
	membro3[30],
	membro4[30],
	membro5[30],
	membro6[30],
	membro7[30],
	membro8[30],
	membro9[30],
	membro10[30],
	membro11[30],
	membro12[30],
	pistolSPAWNfac,
	shotgunSPAWNfac,
	submachineSPAWNfac,
	assaultSPAWNfac,
	sniperSPAWNfac,
    meleeSPAWNfac
}
new FactionInfo[MAX_FACTIONS][Factioninfos];
Код:
			cache_get_field_content(factionid, "facname", FactionInfo[factionid][facname],1,32);  
			cache_get_field_content(factionid, "lider1", FactionInfo[factionid][lider1],1,30); 
			cache_get_field_content(factionid, "lider2", FactionInfo[factionid][lider2],1,30); 
			cache_get_field_content(factionid, "lider3", FactionInfo[factionid][lider3],1,30); 
			cache_get_field_content(factionid, "membro1", FactionInfo[factionid][membro1],1,30); 
			cache_get_field_content(factionid, "membro2", FactionInfo[factionid][membro2],1,30); 
			cache_get_field_content(factionid, "membro3", FactionInfo[factionid][membro3],1,30); 
			cache_get_field_content(factionid, "membro4", FactionInfo[factionid][membro4],1,30); 
			cache_get_field_content(factionid, "membro5", FactionInfo[factionid][membro5],1,30); 
			cache_get_field_content(factionid, "membro6", FactionInfo[factionid][membro6],1,30); 
			cache_get_field_content(factionid, "membro7", FactionInfo[factionid][membro7],1,30); 
			cache_get_field_content(factionid, "membro8", FactionInfo[factionid][membro8],1,30); 
			cache_get_field_content(factionid, "membro9", FactionInfo[factionid][membro9],1,30); 
			cache_get_field_content(factionid, "membro10", FactionInfo[factionid][membro10],1,30); 
			cache_get_field_content(factionid, "membro11", FactionInfo[factionid][membro11],1,30); 
			cache_get_field_content(factionid, "membro12", FactionInfo[factionid][membro12],1,30);
And try
Код:
			cache_get_field_content(factionid, "facname", FactionInfo[factionid][facname],ConnectMYSQL,32);  
			cache_get_field_content(factionid, "lider1", FactionInfo[factionid][lider1],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "lider2", FactionInfo[factionid][lider2],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "lider3", FactionInfo[factionid][lider3],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "membro1", FactionInfo[factionid][membro1],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "membro2", FactionInfo[factionid][membro2],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "membro3", FactionInfo[factionid][membro3],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "membro4", FactionInfo[factionid][membro4],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "membro5", FactionInfo[factionid][membro5],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "membro6", FactionInfo[factionid][membro6],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "membro7", FactionInfo[factionid][membro7],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "membro8", FactionInfo[factionid][membro8],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "membro9", FactionInfo[factionid][membro9],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "membro10", FactionInfo[factionid][membro10],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "membro11", FactionInfo[factionid][membro11],ConnectMYSQL,30); 
			cache_get_field_content(factionid, "membro12", FactionInfo[factionid][membro12],ConnectMYSQL,30);
When load, don't load correcty valor...

Load: NULL
Reply


Messages In This Thread
Why it don't work? Load MYSQL - by maikons - 27.09.2015, 18:09
Re: Why it don't work? Load MYSQL - by maikons - 28.09.2015, 22:44
Re: Why it don't work? Load MYSQL - by PrO.GameR - 28.09.2015, 22:49
Re: Why it don't work? Load MYSQL - by garotin - 28.09.2015, 23:22
Re: Why it don't work? Load MYSQL - by maikons - 29.09.2015, 22:17
Re: Why it don't work? Load MYSQL - by maikons - 30.09.2015, 04:43
Re: Why it don't work? Load MYSQL - by garotin - 30.09.2015, 04:47
Re: Why it don't work? Load MYSQL - by PrO.GameR - 30.09.2015, 10:04

Forum Jump:


Users browsing this thread: 1 Guest(s)