[POMOC] Ne sprema acc

Započeo The Doctor, Februar 22, 2014, 23:40:59 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Skripta koju koristim: CrossCity
Detaljan opis problema: Upalim mod na kućnom hostu i povežem ga sa databazom. I svaki put kad uÄ'em moram registrirat acc, nikad ga ne spremi. Zna netko u čemu je problem?
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno): /


forward SaveACC(playerid);
public SaveACC(playerid)
{
new Pname[24], escpname[24];
GetPlayerName(playerid, Pname, 24);
mysql_real_escape_string(Pname, escpname);
new Query[1024];




format(Query,sizeof(Query),"UPDATE `racuni` SET `Level`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Level],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `ZadnjiLogin`='%s' WHERE `Ime`='%s'",PlayerInfo[playerid][ZadnjiLogin],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Admin`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Admin],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `GameSage`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][GameSage],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Lider`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Lider],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Clan`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Clan],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `OrgMjesto`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][OrgMjesto],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Banan`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Banan],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `RazlogBana`='%s' WHERE `Ime`='%s'",PlayerInfo[playerid][RazlogBana],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Novac`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Novac],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Opomena`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Opomena],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `KreditRata`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][KreditRata],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `KazneniBodovi`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][KazneniBodovi],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `KreditIznos`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][KreditIznos],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `DzeparosVrijeme`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][DzeparosVreme],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Kredit`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Kredit],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Mute`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Mute],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `MuteVrijeme`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][MuteVrijeme],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `BananOd`='%s' WHERE `Ime`='%s'",PlayerInfo[playerid][BananOd],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `DatumBana`='%s' WHERE `Ime`='%s'",PlayerInfo[playerid][DatumBana],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `VrijemeBana`='%s' WHERE `Ime`='%s'",PlayerInfo[playerid][VrijemeBana],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `TipBana`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][TipBana],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `BNovac`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][BNovac],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Posao`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Posao],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `PosaoTimer`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][PosaoTimer],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Aktivnost`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Aktivnost],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Respecti`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Respecti],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `SatiIgre`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][SatiIgre],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Smrti`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Smrti],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Ubojstava`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Ubojstva],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `PayDayPoena`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][PayDayPoena],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Dodatci`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Dodatci],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Stan1`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Stan1],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Kuca1`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Kuca1],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Kuca2`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Kuca2],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Kuca3`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Kuca3],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Droga`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Droga],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Materijali`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Materijali],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Dozvola`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Dozvola],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Rank`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Rank],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Firma1`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Firma1],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Firma2`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Firma2],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Firma3`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Firma3],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Skin`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Skin],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Spawn`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Spawn],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Letjelica1`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Letjelica1],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Motor1`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][MotorV1],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Motor2`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][MotorV2],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Bicikli`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Bicikli],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Brod`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Brod],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Vozilo1`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Vozilo1],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Vozilo2`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Vozilo2],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `Vozilo3`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Vozilo3],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Meta`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Meta],escpname);
mysql_query(Query);
format(Query,sizeof(Query),"UPDATE `racuni` SET `CijenaGlave`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][CijenaGlave],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Smjenjen`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Smjenjen],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `TimUgovor`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][TimUgovor],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `KaznaUgovor`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][KaznaUgovor],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Mobitel`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Mobitel],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `BrojMobitela`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][BrojMobitela],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Upaljac`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Upaljac],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Cigare`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Cigare],escpname);
mysql_query(Query);


format(Query,sizeof(Query),"UPDATE `racuni` SET `Pizza`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Pizza],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Sandwitch`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Sandwitch],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Imenik`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][Imenik],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `MehSkill`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][MehSkill],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `MehOdvoz`='%d' WHERE `Ime`='%s'",PlayerInfo[playerid][MehOdvoz],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `KazneRadar`='%d' WHERE `Ime`='%s'",KazneRadar[playerid],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `ZatvorenVrijeme`='%d' WHERE `Ime`='%s'",ZatvorenVrijeme[playerid],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Area`='%d' WHERE `Ime`='%s'",Area[playerid],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Zatvoren`='%d' WHERE `Ime`='%s'",Zatvoren[playerid],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `RentaUHotelu`='%d' WHERE `Ime`='%s'",RentaUHotelu[playerid],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `RentaUKuci`='%d' WHERE `Ime`='%s'",RentaUKuci[playerid],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `DBodova`='%d' WHERE `Ime`='%s'",DonatorBodova[playerid],escpname);
mysql_query(Query);

format(Query,sizeof(Query),"UPDATE `racuni` SET `Donator`='%d' WHERE `Ime`='%s'",Donator[playerid],escpname);
mysql_query(Query);

return 1;
}

prva pomisao je losa veza, a druga je da zapravo register/login sistem ne deluje