DovIIs

MySQL help

Recommended Posts

Sveiki, kai noriu užkrauti mašinas, aš gaunu debug'e tokius errorus : 

 

[19:50:02] >> mysql_fetch_field_row( Connection handle: 0 )


[19:50:02] >> mysql_fetch_field_row() - Invalid connection handle. (You set: 0, Highest connection handle ID is 1).


[19:50:02] >> mysql_fetch_field_row( Connection handle: 0 )


[19:50:02] >> mysql_fetch_field_row() - Invalid connection handle. (You set: 0, Highest connection handle ID is 1).


[19:50:02] >> mysql_fetch_field_row( Connection handle: 0 )


[19:50:02] >> mysql_fetch_field_row() - Invalid connection handle. (You set: 0, Highest connection handle ID is 1).


[19:50:02] >> mysql_fetch_field_row( Connection handle: 0 )


[19:50:02] >> mysql_fetch_field_row() - Invalid connection handle. (You set: 0, Highest connection handle ID is 1).


[19:50:02] >> mysql_fetch_field_row( Connection handle: 0 )


[19:50:02] >> mysql_fetch_field_row() - Invalid connection handle. (You set: 0, Highest connection handle ID is 1).


[19:50:02] >> mysql_fetch_field_row( Connection handle: 1 )


[19:50:02] CMySQLHandler::FetchField(Xas) - You cannot call this function now. (Reason: Fields/Rows are empty.)


[19:50:02] >> mysql_fetch_field_row( Connection handle: 1 )


[19:50:02] CMySQLHandler::FetchField(T) - You cannot call this function now. (Reason: Fields/Rows are empty.)


[19:50:02] >> mysql_fetch_field_row( Connection handle: 1 )


[19:50:02] CMySQLHandler::FetchField(Z) - You cannot call this function now. (Reason: Fields/Rows are empty.)


[19:50:02] >> mysql_fetch_field_row( Connection handle: 1 )


[19:50:02] CMySQLHandler::FetchField(A) - You cannot call this function now. (Reason: Fields/Rows are empty.)

Krovimas : 

 

stock LoadPriVeh()
{
new Query[1024], fetch[16], ID, Float:pos[4];




format(Query, sizeof(Query), "SELECT * FROM `automobiliai` WHERE 'ID'",
ID);


mysql_fetch_field_row( fetch,"Modelis", MasinosI[ID][Modelis]);
mysql_fetch_field_row( fetch,"Spalva1", MasinosI[ID][Spalva1]);
mysql_fetch_field_row( fetch,"Spalva2", MasinosI[ID][Spalva2]);
mysql_fetch_field_row( fetch,"SavininkasMas", MasinosI[ID][Savininkass]);
mysql_fetch_field_row( fetch,"Perkama", MasinosI[ID][Perkama]);


mysql_fetch_field_row( fetch, "Xas" );
pos[0] = floatstr(fetch);
mysql_fetch_field_row( fetch, "T" );
pos[1] = floatstr(fetch);
mysql_fetch_field_row( fetch, "Z" );
pos[2] = floatstr(fetch);
mysql_fetch_field_row( fetch, "A" );
pos[3] = floatstr(fetch);


new Masinukas = CreateVehicle(MasinosI[ID][Modelis],pos[0], pos[1], pos[2], pos[3], MasinosI[ID][Spalva1], MasinosI[ID][Spalva2], 500000);
SetVehicleNumberPlate(Masinukas, "*Myliu SuperGames.lt*");


return 1;
}

Kas blogai ?

 

Dalintis šį pranešimą


Nuoroda iki šio pranešimo
Dalintis per kitą puslapį

Prisijungti prie diskusijos

Palikti atsakymą galite iš karto, o užsiregistruoti vėliau. Jeigu jau turite paskyrą mūsų forume, Prisijunkite.

Svečias
Atsakyti Å¡ioje temoje...

×   Ä®klijuotas tekstas turi teksto formatavimą.   PaÅ¡alinti teksto formatavimą

  Galimi tik 75 veidukai.

×   Nuoroda buvo automatiÅ¡kai įterpta.   Ä®terpti nuorodą paprastai

×   JÅ«sų ankstesnis praneÅ¡imas buvo atkurtas.   IÅ¡valyti redaktorių

×   You cannot paste images directly. Upload or insert images from URL.


  • Å iame puslapyje narÅ¡o:   0 nariai

    Nėra registruotų narių peržiūrinčių šį forumą.


  • SuperGames programele
  • SuperGames programele