Peršokti į turinį
  • ŽAIDIMAI
  • , ŽAIDIMAI
  • ŽAIDIMAI

MySQL help


Ši tema yra neaktyvi. Paskutinis pranešimas šioje temoje buvo prieš 3428 dienas (-ų). Patariame sukurti naują temą, o ne rašyti naują pranešimą.

Už neaktyvių temų prikėlimą galite sulaukti įspėjimo ir pranešimo pašalinimo!

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 ?

 

Nuoroda į komentarą
Dalintis per kitą puslapį

Ši tema yra neaktyvi. Paskutinis pranešimas šioje temoje buvo prieš 3428 dienas (-ų). Patariame sukurti naują temą, o ne rašyti naują pranešimą.

Už neaktyvių temų prikėlimą galite sulaukti įspėjimo ir pranešimo pašalinimo!

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ų

×   Jūs negalite įkelti nuotraukas tiesiogiai.Įkelkite arba įdėkite nuotraukas iš URL.

  • Šiame puslapyje naršo:   0 nariai

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

Skelbimai


×
×
  • Sukurti naują...