Citat: Terzic Script poslato Jul 06, 2018, 18:15:00 POSLE PODNE
vrv si negde stavio na neku varijablu ( ` ` ) umesto ( ' ' ) pa ti zato prikazuje tu vrednost umesto ime polja
Nema takvog sluÄaja niti te vrijednosti.
Citat: buLLeT_ poslato Jul 06, 2018, 20:24:54 POSLE PODNE
Posalji nam query
Poziva se uÄitavanje raÄuna u tom dijelu.
[pawn]stock LogPlayer( playerid ) {
cache_set_active(pInfo[playerid][Player_Cache]);
cache_get_value_int(0, "ID", pInfo[playerid][ID]);
cache_get_value_int(0, "NOVAC", pInfo[playerid][pNovac]);
cache_get_value_int(0, "LEVEL", pInfo[playerid][pLevel]);
cache_get_value_int(0, "HELPER", pInfo[playerid][pHelper]);
cache_get_value_int(0, "ADMIN", pInfo[playerid][pAdmin]);
cache_get_value_int(0, "SKIN", pInfo[playerid][pSkin]);
cache_get_value_int(0, "SATI", pInfo[playerid][pSatiIgre]);
cache_get_value(0, "MAIL", pInfo[playerid][pMail], 220);
cache_get_value_int(0, "PDBODOVI", pInfo[playerid][pMinute]);
cache_get_value_int(0, "RESPEKTI", pInfo[playerid][pExp]);
cache_get_value_int(0, "SPAWN", pInfo[playerid][pSpawn]);
cache_get_value_int(0, "RENT", pInfo[playerid][pRent]);
cache_get_value_int(0, "LIDER", pInfo[playerid][pLider]);
cache_get_value_int(0, "CLAN", pInfo[playerid][pClan]);
cache_get_value_int(0, "ORGSLOT", pInfo[playerid][pOrgSlot]);
cache_get_value_int(0, "RANK", pInfo[playerid][pRank]);
cache_get_value_int(0, "KUCA", pInfo[playerid][pKucaKljuc]);
cache_get_value_int(0, "FIRMA", pInfo[playerid][pImaFirmu]);
cache_get_value_int(0, "STAN", pInfo[playerid][pImaStan]);
cache_get_value_int(0, "VIKENDICA", pInfo[playerid][pImaVikendicu]);
cache_get_value_int(0, "POSAO", pInfo[playerid][pPosao]);
cache_get_value_int(0, "UGOVOR", pInfo[playerid][pUgovor]);
cache_get_value_int(0, "SJEME", pInfo[playerid][pSjeme]);
cache_get_value_int(0, "DROGA", pInfo[playerid][pDroga]);
cache_get_value_int(0, "PRERADJENA", pInfo[playerid][pPreradjenaDroga]);
cache_get_value_int(0, "MOBITEL", pInfo[playerid][pTelefon]);
cache_get_value_int(0, "SIM", pInfo[playerid][pSim]);
cache_get_value_int(0, "KREDITTELEFON", pInfo[playerid][pKreditTelefon]);
cache_get_value_int(0, "IMENIK", pInfo[playerid][pImenik]);
cache_get_value_int(0, "ZEMLJA", pInfo[playerid][pZemlja]);
cache_get_value_int(0, "VEHSLOTOVI", pInfo[playerid][pVehSlotovi]);
cache_get_value_int(0, "KREDIT", pInfo[playerid][pKredit]);
cache_get_value_int(0, "CIGARE", pInfo[playerid][pCigare]);
cache_get_value_int(0, "UPALJAC", pInfo[playerid][pUpaljac]);
cache_get_value_int(0, "BSTIL", pInfo[playerid][pStilBorbe]);
cache_get_value_int(0, "MUTIRAN", pInfo[playerid][pMutiran]);
cache_get_value_int(0, "PRVAPOMOC", pInfo[playerid][pPrvaPomoc]);
cache_get_value_int(0, "GORIVO", pInfo[playerid][pGorivo]);
cache_get_value_int(0, "MASKA", pInfo[playerid][pMaska]);
cache_get_value_int(0, "PUSKA", pInfo[playerid][pPuska]);
cache_get_value_int(0, "PUMPARICA", pInfo[playerid][pPumparica]);
cache_get_value_int(0, "PISTOLJ", pInfo[playerid][pPistolj]);
cache_get_value_int(0, "KAZNA", pInfo[playerid][pKazna]);
cache_get_value_int(0, "VIPISTICE", pInfo[playerid][VipIstice]);
cache_get_value_int(0, "BANEXP", pInfo[playerid][BanIstice]);
cache_get_value_int(0, "BANPERM", pInfo[playerid][PermBan]);
cache_get_value_int(0, "PRIVBAN", pInfo[playerid][PrivBan]);
cache_get_value(0, "BANADMIN", pInfo[playerid][BanAdmin], 20);
cache_get_value(0, "BANRAZLOG", pInfo[playerid][BanRazlog], 100);
cache_get_value_int(0, "PASOS", pInfo[playerid][Pasos]);
cache_get_value_int(0, "VIP", pInfo[playerid][VIP]);
cache_get_value_int(0, "GARAZA", pInfo[playerid][Garaza]);
cache_get_value_int(0, "BOOMBOX", pInfo[playerid][Boombox]);
cache_get_value_int(0, "PLATA", pInfo[playerid][Plata]);
cache_get_value_int(0, "IMANJE", pInfo[playerid][Imanje]);
cache_get_value_int(0, "SLJIVE", pInfo[playerid][Sljive]);
cache_get_value_int(0, "KRUSKE", pInfo[playerid][Kruske]);
cache_get_value_int(0, "JABUKE", pInfo[playerid][Jabuke]);
cache_get_value_int(0, "SJEMESLJIVE", pInfo[playerid][SjemenaSljive]);
cache_get_value_int(0, "SJEMEKRUSKE", pInfo[playerid][SjemenaKruske]);
cache_get_value_int(0, "SJEMEJABUKE", pInfo[playerid][SjemenaJabuke]);
cache_get_value_int(0, "KRAVE", pInfo[playerid][pKrave]);
cache_get_value_int(0, "MLIJEKO", pInfo[playerid][pMlijeko]);
cache_get_value_int(0, "LISICE", pInfo[playerid][pLisice]);
cache_get_value_int(0, "VOZACKA", pInfo[playerid][pVozacka]);
cache_get_value_int(0, "ZATVOREN", pInfo[playerid][pZatvoren]);
cache_get_value_int(0, "TZATVOREN", pInfo[playerid][pTZatvoren]);
cache_get_value_int(0, "POTJERA", pInfo[playerid][pPotjera]);
cache_get_value(0, "RPOTJERA", pInfo[playerid][pRPotjera], 128);
cache_get_value_int(0, "ZLATO", pInfo[playerid][pZlato]);
cache_get_value_int(0, "BANDAN", pInfo[playerid][pBanDani]);
cache_get_value_int(0, "BANMJESEC", pInfo[playerid][pBanMjesec]);
cache_get_value_int(0, "BANGODINA", pInfo[playerid][pBanGodina]);
cache_get_value_int(0, "OVISNOST", pInfo[playerid][pOvisnost]);
cache_get_value_int(0, "PRIBOR", pInfo[playerid][pPribor]);
cache_get_value_int(0, "TICKET", pInfo[playerid][pTicket]);
cache_get_value_int(0, "NEXTZATVOR", pInfo[playerid][pNextZatvor]);
cache_get_value_int(0, "NEXTZATVORVRIJEME", pInfo[playerid][pNextZatvorVrijeme]);
SetPlayerScore(playerid, pInfo[playerid][pLevel]);
cache_delete(pInfo[playerid][Player_Cache]);
pInfo[playerid][Player_Cache] = MYSQL_INVALID_CACHE;
return 1;
}[/pawn]