BUG oko /f !

Započeo ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ, Januar 04, 2018, 09:43:40 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Old Story
Detaljan opis problema: Znaci, kada dam nekome lidera, on moze da koristi /f i sve to, ali posle nekoliko sata, ili kad ide relog, vise ne moze da koristi /f, a lider je i to, on pise nesto na /f, i nista mu ne stize, nikakva povratna poruka, ni kao obicnim igracima: "Niste u mogucnosti...", nego nista se ne pojavi, pitali smo i druge clanove da li stize njegova poruka na /f kada napise nesto, oni kazu da NE! Zna li neko kako da resim?  :'(
Deo skripte: [pawn]CMD:f( playerid, params[] ) {
    if( PlayerInfo[ playerid ][ xZatvor ] != 0 ) return SendErrorMessage( playerid, "Ne mozes koristi ovu komandu dok si u jailu." );
    if( PlayerInfo[ playerid ][ xMute ] != 0) return SendErrorMessage( playerid, "Ne mozete pricati, usutkani ste.");
    if( PlayerCuffed[ playerid ] >= 1 ) return SendErrorMessage( playerid, "Ne mozes koristiti komandu kad si cuffovan ili tazovan.");
   if( PlayerInfo[ playerid ][ xZatvor ] >= 1 ) return SendErrorMessage( playerid, "Ne mozete pisati dok ste u zatvoru / Area51.");
   new poruka[ 128 ], string[ 234 ];
   if( GetFChat( playerid ) == -1 ) return SendErrorMessage( playerid, "Niste u mogucnosti koristiti ovu komandu" );
   if( sscanf(params, "s[128]", poruka)) return SendUsageMessage( playerid, "/f [Text]");
    for( new b = 0; b < sizeof( ZabranjeneReci ); b++) {
        if( strfind( poruka, ZabranjeneReci[ b ], true ) != -1 ) {
            format( globalstring, sizeof( globalstring ), "[!]%s[%d]: %s", ImeIgraca( playerid ), playerid, poruka );
             AdminPoruka( 0x808000AA, globalstring );
             return 1;
        }
   }
   if( PlayerInfo[ playerid ][ xLider ] > 0 || PlayerInfo[ playerid ][ xClan ] > 0) {
      if( PlayerInfo[ playerid ][ xRank ] == 1) format(string, sizeof string, "[%s] %s %s: "col_white"%s.", OI[ PlayerInfo[ playerid ][ xClan ] ][ oPreFix ], OI[ PlayerInfo[ playerid ][ xClan ]][ oRank1 ], ImeIgraca( playerid ), poruka );
       else if( PlayerInfo[ playerid ][ xRank ] == 2) format(string, sizeof string, "[%s] %s %s: "col_white"%s.", OI[ PlayerInfo[ playerid ][ xClan ] ][ oPreFix ], OI[ PlayerInfo[ playerid ][ xClan ]][ oRank2 ], ImeIgraca( playerid ), poruka );
       else if( PlayerInfo[ playerid ][ xRank ] == 3) format(string, sizeof string, "[%s] %s %s: "col_white"%s.", OI[ PlayerInfo[ playerid ][ xClan ] ][ oPreFix ], OI[ PlayerInfo[ playerid ][ xClan ]][ oRank3 ], ImeIgraca( playerid ), poruka );
       else if( PlayerInfo[ playerid ][ xRank ] == 4) format(string, sizeof string, "[%s] %s %s: "col_white"%s.", OI[ PlayerInfo[ playerid ][ xClan ] ][ oPreFix ], OI[ PlayerInfo[ playerid ][ xClan ]][ oRank4 ], ImeIgraca( playerid ), poruka );
       else if( PlayerInfo[ playerid ][ xRank ] == 5) format(string, sizeof string, "[%s] %s %s: "col_white"%s.", OI[ PlayerInfo[ playerid ][ xClan ] ][ oPreFix ], OI[ PlayerInfo[ playerid ][ xClan ]][ oRank5 ], ImeIgraca( playerid ), poruka );
       else if( PlayerInfo[ playerid ][ xRank ] == 6) format(string, sizeof string, "[%s] %s %s: "col_white"%s.", OI[ PlayerInfo[ playerid ][ xClan ] ][ oPreFix ], OI[ PlayerInfo[ playerid ][ xClan ]][ oRank6 ], ImeIgraca( playerid ), poruka );
       OrgPoruka( PlayerInfo[ playerid ][ xClan ], 0xFFC801C8, string ); }
    else { SendErrorMessage( playerid, "Niste u mogucnosti koristiti ovu komandu" ); return true; }
   return true;
}[/pawn]
Neke slike/video za lakse dobivanje pomoci(neobavezno): /
Founder of
Digression Community

Jedino što mi pada napamet je da se možda xrank ne sačuva? Jer vidim da poruke idu po ranku(Tipa ako je rank1 to i to,ako je rank6 to i to) pa je moguće da bude rank = 0 pa da se ništa ne dogodi.


Citat: Paul Castellano poslato Januar 04, 2018, 11:12:31 PRE PODNE
Jedino što mi pada napamet je da se možda xrank ne sačuva? Jer vidim da poruke idu po ranku(Tipa ako je rank1 to i to,ako je rank6 to i to) pa je moguće da bude rank = 0 pa da se ništa ne dogodi.
Znas li mozda kako to da resim sto ti pada napamet?  :D
Founder of
Digression Community

Citat: Busterâ,,¢.amx poslato Januar 04, 2018, 11:34:02 PRE PODNE
Znas li mozda kako to da resim sto ti pada napamet?  :D
Daj nam kod cuvanja igraca ( INI_WriteInt/INI_WriteFloat ... ) I ocitavanje igraca ( INI_Int/INI_Float ... )

Facebook - Klik



Citat: Busterâ,,¢.amx poslato Januar 04, 2018, 11:34:02 PRE PODNE
Znas li mozda kako to da resim sto ti pada napamet?  :D

Ja sam ti predložio Å¡to može biti,red je da provjeriÅ¡ da li je do toga...OdeÅ¡ na korisnike i uÄ'eÅ¡ u tog korisnika koji je lider i vidi koja mu je vrijednost ranka...

Ili izbrisi svoju komandu i postavi ovu

[pawn]CMD:f( playerid, params[] ) {
    if( PlayerInfo[ playerid ][ xZatvor ] != 0 ) return SendErrorMessage( playerid, "Ne mozes koristi ovu komandu dok si u jailu." );
    if( PlayerInfo[ playerid ][ xMute ] != 0) return SendErrorMessage( playerid, "Ne mozete pricati, usutkani ste.");
    if( PlayerCuffed[ playerid ] >= 1 ) return SendErrorMessage( playerid, "Ne mozes koristiti komandu kad si cuffovan ili tazovan.");
   if( PlayerInfo[ playerid ][ xZatvor ] >= 1 ) return SendErrorMessage( playerid, "Ne mozete pisati dok ste u zatvoru / Area51.");
   new poruka[ 128 ], string[ 234 ];
   if( GetFChat( playerid ) == -1 ) return SendErrorMessage( playerid, "Niste u mogucnosti koristiti ovu komandu" );
   if( sscanf(params, "s[128]", poruka)) return SendUsageMessage( playerid, "/f [Text]");
    for( new b = 0; b < sizeof( ZabranjeneReci ); b++) {
        if( strfind( poruka, ZabranjeneReci[ b ], true ) != -1 ) {
            format( globalstring, sizeof( globalstring ), "[!]%s[%d]: %s", ImeIgraca( playerid ), playerid, poruka );
             AdminPoruka( 0x808000AA, globalstring );
             return 1;
        }
   }
   if( PlayerInfo[ playerid ][ xLider ] > 0 || PlayerInfo[ playerid ][ xClan ] > 0) {
      if( PlayerInfo[ playerid ][ xRank ] == 1) format(string, sizeof string, "[%s] %s %s: "col_white"%s.", OI[ PlayerInfo[ playerid ][ xClan ] ][ oPreFix ], OI[ PlayerInfo[ playerid ][ xClan ]][ oRank1 ], ImeIgraca( playerid ), poruka );
       else if( PlayerInfo[ playerid ][ xRank ] == 2) format(string, sizeof string, "[%s] %s %s: "col_white"%s.", OI[ PlayerInfo[ playerid ][ xClan ] ][ oPreFix ], OI[ PlayerInfo[ playerid ][ xClan ]][ oRank2 ], ImeIgraca( playerid ), poruka );
       else if( PlayerInfo[ playerid ][ xRank ] == 3) format(string, sizeof string, "[%s] %s %s: "col_white"%s.", OI[ PlayerInfo[ playerid ][ xClan ] ][ oPreFix ], OI[ PlayerInfo[ playerid ][ xClan ]][ oRank3 ], ImeIgraca( playerid ), poruka );
       else if( PlayerInfo[ playerid ][ xRank ] == 4) format(string, sizeof string, "[%s] %s %s: "col_white"%s.", OI[ PlayerInfo[ playerid ][ xClan ] ][ oPreFix ], OI[ PlayerInfo[ playerid ][ xClan ]][ oRank4 ], ImeIgraca( playerid ), poruka );
       else if( PlayerInfo[ playerid ][ xRank ] == 5) format(string, sizeof string, "[%s] %s %s: "col_white"%s.", OI[ PlayerInfo[ playerid ][ xClan ] ][ oPreFix ], OI[ PlayerInfo[ playerid ][ xClan ]][ oRank5 ], ImeIgraca( playerid ), poruka );
       else if( PlayerInfo[ playerid ][ xRank ] == 6) format(string, sizeof string, "[%s] %s %s: "col_white"%s.", OI[ PlayerInfo[ playerid ][ xClan ] ][ oPreFix ], OI[ PlayerInfo[ playerid ][ xClan ]][ oRank6 ], ImeIgraca( playerid ), poruka );
       else {
         SendErrorMessage( playerid, "Dogodila se pogreska( R0 ) ");
         return 1;
      }
       OrgPoruka( PlayerInfo[ playerid ][ xClan ], 0xFFC801C8, string ); }
    else { SendErrorMessage( playerid, "Niste u mogucnosti koristiti ovu komandu" ); return true; }
   return true;
}[/pawn]


Ako je R0 ispisat će Dogodila se pogreska ( R0 ).Pa nam javi onda ćemo vidjeti da li je do čuvanja/učitavanja.

Citat: 𝕊𝕙𝕠𝕞𝕪 𝕊ð•"𝕣𝕚𝕡𝕥 poslato Januar 04, 2018, 11:35:07 PRE PODNE
Daj nam kod cuvanja igraca ( INI_WriteInt/INI_WriteFloat ... ) I ocitavanje igraca ( INI_Int/INI_Float ... )
[pawn]forward GPS_Save( id );
public GPS_Save( id ) {
   new iFile[ 60 ];
    format( iFile, sizeof( iFile ), F_GPS, id );
   new INI:File = INI_Open( iFile );
    INI_WriteString( File, "Name", gpsInfo[ id ][ gpsName ] );
   INI_WriteFloat( File, "PosX", gpsInfo[ id ][ gpsPos ][ 0 ] );
   INI_WriteFloat( File, "PosY", gpsInfo[ id ][ gpsPos ][ 1 ] );
   INI_WriteFloat( File, "PosZ", gpsInfo[ id ][ gpsPos ][ 2 ] );
   INI_Close( File );
   return (true);
}[/pawn]
Evo i ovo drugo: [pawn]forward Garage_Save( id );
public Garage_Save( id ) {
   new iFile[ 40 ];
    format( iFile, sizeof( iFile ), F_GARAGE, id );
   new INI:File = INI_Open( iFile );
   INI_WriteBool( File, "Owned", garageInfo[ id ][ garageOwned ] );
    INI_WriteString( File, "Owner", garageInfo[ id ][ garageOwner ] );
    INI_WriteInt( File, "Price", garageInfo[ id ][ garagePrice ] );
    INI_WriteInt( File, "Level", garageInfo[ id ][ garageLevel ] );
    INI_WriteBool( File, "Locked", garageInfo[ id ][ garageLocked ] );
   INI_WriteFloat( File, "Pos1", garageInfo[ id ][ garagePos ][ 0 ] );
   INI_WriteFloat( File, "Pos2", garageInfo[ id ][ garagePos ][ 1 ] );
   INI_WriteFloat( File, "Pos3", garageInfo[ id ][ garagePos ][ 2 ] );
   INI_WriteFloat( File, "VehiclePos1", garageInfo[ id ][ garageVehiclePos ][ 0 ] );
   INI_WriteFloat( File, "VehiclePos2", garageInfo[ id ][ garageVehiclePos ][ 1 ] );
   INI_WriteFloat( File, "VehiclePos3", garageInfo[ id ][ garageVehiclePos ][ 2 ] );
   INI_WriteFloat( File, "VehiclePos4", garageInfo[ id ][ garageVehiclePos ][ 3 ] );
   INI_WriteInt( File, "VW", garageInfo[ id ][ garageVW ] );
   INI_WriteInt( File, "Type", garageInfo[ id ][ garageType ] );
   INI_Close( File );
   return (true);
}[/pawn]
Founder of
Digression Community

Šta će nam od garaže..Daj nam od učitavanja/spremanja korisnika/igrača

Citat: Paul Castellano poslato Januar 04, 2018, 11:42:03 PRE PODNE
Šta će nam od garaže..Daj nam od učitavanja/spremanja korisnika/igrača
[pawn]SavePlayer( playerid ) {

      new INI:File = INI_Open( Korisnici( playerid ) );
      INI_SetTag( File, "Informacije" );
      INI_WriteString( File, "Lozinka", PlayerInfo[ playerid ][ xLozinka ] );
      INI_WriteInt( File, "Pol", PlayerInfo[ playerid ][ xPol ] );
      INI_WriteInt( File, "Godine", PlayerInfo[ playerid ][ xGodine ] );
       INI_WriteInt( File, "Novac", PlayerInfo[ playerid ][ xNovac ] );
      INI_WriteInt( File, "Level", PlayerInfo[ playerid ][ xLevel ] );
      INI_WriteInt( File, "Respekt", PlayerInfo[ playerid ][ xRespekt ] );
      INI_WriteInt( File, "Poboljsanja", PlayerInfo[ playerid ][ xPoboljsanja ] );
      INI_WriteInt( File, "PayDay", PlayerInfo[ playerid ][ xPayDay ] );
      INI_WriteInt( File, "Admin", PlayerInfo[ playerid ][ xAdmin ] );
      INI_WriteInt( File, "Skin", PlayerInfo[ playerid ][ xSkin ] );
      INI_WriteInt( File, "Spawn", PlayerInfo[ playerid ][ xSpawn ] );
      INI_WriteInt( File, "Lider", PlayerInfo[ playerid ][ xLider ] );
      INI_WriteInt( File, "Clan", PlayerInfo[ playerid ][ xClan ] );
      INI_WriteInt( File, "Rank", PlayerInfo[ playerid ][ xRank ] );
      INI_WriteInt( File, "VoziloID1", PlayerInfo[ playerid ][ xVoziloID ][ 0 ] );
      INI_WriteInt( File, "VoziloID2", PlayerInfo[ playerid ][ xVoziloID ][ 1 ] );
      INI_WriteInt( File, "VoziloID3", PlayerInfo[ playerid ][ xVoziloID ][ 2 ] );
      INI_WriteInt( File, "VoziloID4", PlayerInfo[ playerid ][ xVoziloID ][ 3 ] );
      INI_WriteInt( File, "Materijali", PlayerInfo[ playerid ][ xMaterijali ] );
      INI_WriteInt( File, "FirmaID", PlayerInfo[ playerid ][ xFirmaID ] );
      INI_WriteInt( File, "Posao", PlayerInfo[ playerid ][ xPosao ] );
      INI_WriteInt( File, "Ugovor", PlayerInfo[ playerid ][ xUgovor ] );
      INI_WriteInt( File, "MehSkill", PlayerInfo[ playerid ][ xMehSkill ] );
      INI_WriteInt( File, "MDelovi", PlayerInfo[ playerid ][ xMDelovi ] );
      INI_WriteInt( File, "Head", PlayerInfo[ playerid ][ xHead ] );
      INI_WriteFloat( File, "HeadPos1", PlayerInfo[ playerid ][ xHeadPos ][ 0 ] );
      INI_WriteFloat( File, "HeadPos2", PlayerInfo[ playerid ][ xHeadPos ][ 1 ] );
      INI_WriteFloat( File, "HeadPos3", PlayerInfo[ playerid ][ xHeadPos ][ 2 ] );
      INI_WriteFloat( File, "HeadPos4", PlayerInfo[ playerid ][ xHeadPos ][ 3 ] );
      INI_WriteFloat( File, "HeadPos5", PlayerInfo[ playerid ][ xHeadPos ][ 4 ] );
      INI_WriteFloat( File, "HeadPos6", PlayerInfo[ playerid ][ xHeadPos ][ 5 ] );
      INI_WriteFloat( File, "HeadPos7", PlayerInfo[ playerid ][ xHeadPos ][ 6 ] );
      INI_WriteFloat( File, "HeadPos8", PlayerInfo[ playerid ][ xHeadPos ][ 7 ] );
      INI_WriteFloat( File, "HeadPos9", PlayerInfo[ playerid ][ xHeadPos ][ 8 ] );
      INI_WriteInt( File, "Face", PlayerInfo[ playerid ][ xFace ] );
      INI_WriteFloat( File, "FacePos1", PlayerInfo[ playerid ][ xFacePos ][ 0 ] );
      INI_WriteFloat( File, "FacePos2", PlayerInfo[ playerid ][ xFacePos ][ 1 ] );
      INI_WriteFloat( File, "FacePos3", PlayerInfo[ playerid ][ xFacePos ][ 2 ] );
      INI_WriteFloat( File, "FacePos4", PlayerInfo[ playerid ][ xFacePos ][ 3 ] );
      INI_WriteFloat( File, "FacePos5", PlayerInfo[ playerid ][ xFacePos ][ 4 ] );
      INI_WriteFloat( File, "FacePos6", PlayerInfo[ playerid ][ xFacePos ][ 5 ] );
      INI_WriteFloat( File, "FacePos7", PlayerInfo[ playerid ][ xFacePos ][ 6 ] );
      INI_WriteFloat( File, "FacePos8", PlayerInfo[ playerid ][ xFacePos ][ 7 ] );
      INI_WriteFloat( File, "FacePos9", PlayerInfo[ playerid ][ xFacePos ][ 8 ] );
      INI_WriteInt( File, "SungMask", PlayerInfo[ playerid ][ xSungMask ] );
      INI_WriteFloat( File, "SungMaskPos1", PlayerInfo[ playerid ][ xSungMaskPos ][ 0 ] );
      INI_WriteFloat( File, "SungMaskPos2", PlayerInfo[ playerid ][ xSungMaskPos ][ 1 ] );
      INI_WriteFloat( File, "SungMaskPos3", PlayerInfo[ playerid ][ xSungMaskPos ][ 2 ] );
      INI_WriteFloat( File, "SungMaskPos4", PlayerInfo[ playerid ][ xSungMaskPos ][ 3 ] );
      INI_WriteFloat( File, "SungMaskPos5", PlayerInfo[ playerid ][ xSungMaskPos ][ 4 ] );
      INI_WriteFloat( File, "SungMaskPos6", PlayerInfo[ playerid ][ xSungMaskPos ][ 5 ] );
      INI_WriteFloat( File, "SungMaskPos7", PlayerInfo[ playerid ][ xSungMaskPos ][ 6 ] );
      INI_WriteFloat( File, "SungMaskPos8", PlayerInfo[ playerid ][ xSungMaskPos ][ 7 ] );
      INI_WriteFloat( File, "SungMaskPos9", PlayerInfo[ playerid ][ xSungMaskPos ][ 8 ] );
      INI_WriteInt( File, "Cigare", PlayerInfo[ playerid ][ xCigare ] );
      INI_WriteInt( File, "Upaljac", PlayerInfo[ playerid ][ xUpaljac ] );
      INI_WriteInt( File, "BStil", PlayerInfo[ playerid ][ xBStil ] );
      INI_WriteInt( File, "Registrovan", PlayerInfo[ playerid ][ xRegistrovan ] );
      INI_WriteFloat( File, "SHealth", PlayerInfo[ playerid ][ xSHealth ] );
      INI_WriteInt( File, "BrojTelefona", PlayerInfo[ playerid ][ xBrojTelefona ] );
      INI_WriteInt( File, "Vozacka", PlayerInfo[ playerid ][ xVozacka ] );
      INI_WriteInt( File, "Motorska", PlayerInfo[ playerid ][ xMotorska ] );
      INI_WriteInt( File, "KamionskaC1", PlayerInfo[ playerid ][ xKamionskaC1 ] );
      INI_WriteInt( File, "KamionskaC2", PlayerInfo[ playerid ][ xKamionskaC2 ] );
      INI_WriteInt( File, "KamionskaC3", PlayerInfo[ playerid ][ xKamionskaC3 ] );
      INI_WriteInt( File, "Brodska", PlayerInfo[ playerid ][ xBrodska ] );
      INI_WriteInt( File, "Letelica", PlayerInfo[ playerid ][ xLetelica ] );
      INI_WriteInt( File, "Osnovna", PlayerInfo[ playerid ][ xOsnovna ] );
      INI_WriteInt( File, "Srednja", PlayerInfo[ playerid ][ xSrednja ] );
      INI_WriteInt( File, "Fakultet", PlayerInfo[ playerid ][ xFakultet ] );
      INI_WriteInt( File, "SkolaLimit", PlayerInfo[ playerid ][ xSkolaLimit ] );
      INI_WriteInt( File, "Ubijen", PlayerInfo[ playerid ][ xUbijen ] );
      INI_WriteInt( File, "Drug1", PlayerInfo[ playerid ][ xDrug ][ 0 ] );
      INI_WriteInt( File, "Drug2", PlayerInfo[ playerid ][ xDrug ][ 1 ] );
      INI_WriteInt( File, "Drug3", PlayerInfo[ playerid ][ xDrug ][ 2 ] );
      INI_WriteInt( File, "Drug4", PlayerInfo[ playerid ][ xDrug ][ 3 ] );
      INI_WriteInt( File, "Drug5", PlayerInfo[ playerid ][ xDrug ][ 4 ] );
      INI_WriteInt( File, "DrugCode1", PlayerInfo[ playerid ][ xDrugCode ][ 0 ] );
      INI_WriteInt( File, "DrugCode2", PlayerInfo[ playerid ][ xDrugCode ][ 1 ] );
      INI_WriteInt( File, "DrugCode3", PlayerInfo[ playerid ][ xDrugCode ][ 2 ] );
      INI_WriteInt( File, "DrugCode4", PlayerInfo[ playerid ][ xDrugCode ][ 3 ] );
      INI_WriteInt( File, "DrugCode5", PlayerInfo[ playerid ][ xDrugCode ][ 4 ] );
      INI_WriteInt( File, "Solna", PlayerInfo[ playerid ][ xSolna ] );
      INI_WriteInt( File, "Pseudo", PlayerInfo[ playerid ][ xPseudo ] );
      INI_WriteInt( File, "SodaB", PlayerInfo[ playerid ][ xSodaB ] );
      INI_WriteInt( File, "CrveniF", PlayerInfo[ playerid ][ xCrveniF ] );
      INI_WriteInt( File, "LysAcid", PlayerInfo[ playerid ][ xLysAcid ] );
      INI_WriteInt( File, "DesVoda", PlayerInfo[ playerid ][ xDesVoda ] );
      INI_WriteInt( File, "Marihuana", PlayerInfo[ playerid ][ xMarihuana ] );
      INI_WriteInt( File, "Opium", PlayerInfo[ playerid ][ xOpium ] );
      INI_WriteInt( File, "Kalcijum", PlayerInfo[ playerid ][ xKalcij ] );
      INI_WriteInt( File, "AmonijumHlorid", PlayerInfo[ playerid ][ xAmonijH ] );
      INI_WriteInt( File, "Kokain", PlayerInfo[ playerid ][ xKokain ] );
      INI_WriteInt( File, "Kokain2", PlayerInfo[ playerid ][ xKokain2 ] );
      INI_WriteInt( File, "MetilAmin", PlayerInfo[ playerid ][ xMetilAmin ] );
      INI_WriteInt( File, "Hunger", PlayerInfo[ playerid ][ xHunger ] );
      INI_WriteBool( File, "HeroinAddict", PlayerInfo[ playerid ][ xHeroinAddict ] );
      INI_WriteInt( File, "HeroinUsed", PlayerInfo[ playerid ][ xHeroinUsed ] );
      INI_WriteInt( File, "HeroinIndicator", PlayerInfo[ playerid ][ xHeroinIndicator ] );
      INI_WriteBool( File, "CokeCrackAddict", PlayerInfo[ playerid ][ xCokeCrackAddict ] );
      INI_WriteInt( File, "CokeCrackUsed", PlayerInfo[ playerid ][ xCokeCrackUsed ] );
      INI_WriteInt( File, "CokeCrackIndicator", PlayerInfo[ playerid ][ xCokeCrackIndicator ] );
      INI_WriteBool( File, "MethAddict", PlayerInfo[ playerid ][ xMethAddict ] );
      INI_WriteInt( File, "MethIndicator", PlayerInfo[ playerid ][ xMethIndicator ] );
       INI_WriteInt( File, "MethUsed", PlayerInfo[ playerid ][ xMethUsed ] );
       INI_WriteBool( File, "Inekcija", PlayerInfo[ playerid ][ xInekcija ] );
       INI_WriteBool( File, "Toolkit", PlayerInfo[ playerid ][ xToolkit ] );
       INI_WriteInt( File, "Property1", PlayerInfo[ playerid ][ xProperty ][ 0 ] );
       INI_WriteInt( File, "Property2", PlayerInfo[ playerid ][ xProperty ][ 1 ] );
       INI_WriteInt( File, "Property3", PlayerInfo[ playerid ][ xProperty ][ 2 ] );
       INI_WriteBool( File, "GunLicense", PlayerInfo[ playerid ][ xGunLicense ] );
       INI_WriteInt( File, "TelefonBon", PlayerInfo[ playerid ][ xTelefonBon ] );
       INI_WriteInt( File, "ModelTelefona", PlayerInfo[ playerid ][ xModelTelefona ] );
       INI_WriteInt( File, "Snaga", PlayerInfo[ playerid ][ xSnaga ] );
       INI_WriteInt( File, "Zatvor", PlayerInfo[ playerid ][ xZatvor ] );
       INI_WriteInt( File, "ZatvorVreme", PlayerInfo[ playerid ][ xZatvorVreme ] );
       INI_WriteInt( File, "Wanted", PlayerInfo[ playerid ][ xWanted ] );
       INI_WriteInt( File, "Uhapsen", PlayerInfo[ playerid ][ xUhapsen ] );
       INI_WriteInt( File, "PDUhapsio", PlayerInfo[ playerid ][ xPDUhapsio ] );
       INI_WriteInt( File, "PDStatsTicket", PlayerInfo[ playerid ][ xPDStatsTicket ] );
      INI_WriteInt( File, "PDStatsTicketMoney", PlayerInfo[ playerid ][ xPDStatsTicketMoney ] );
      INI_WriteInt( File, "TakenWeps", PlayerInfo[ playerid ][ xTakenWeps ] );
       INI_WriteInt( File, "TakenDrugs", PlayerInfo[ playerid ][ xTakenDrugs ] );
       INI_WriteInt( File, "PocetniTut", PlayerInfo[ playerid ][ xPocetniTut ] );
       INI_WriteInt( File, "AKod", PlayerInfo[ playerid ][ xAKod ] );
       INI_WriteInt( File, "Sat", PlayerInfo[ playerid ][ xSat ] );
       INI_WriteInt( File, "MaskID", PlayerInfo[ playerid ][ xMaskID ] );
       INI_WriteInt( File, "BRacun", PlayerInfo[ playerid ][ xBRacun ] );
       INI_WriteInt( File, "PreostaloZaOtplatu", PlayerInfo[ playerid ][ xPreostaloZaOtplatu ] );
       INI_WriteInt( File, "IznosRate", PlayerInfo[ playerid ][ xIznosRate ] );
       INI_WriteInt( File, "IznosKredita", PlayerInfo[ playerid ][ xIznosKredita ] );
       INI_WriteInt( File, "OnlineSati", PlayerInfo[ playerid ][ xOnlineSati ] );
       INI_WriteInt( File, "RPTeacher", PlayerInfo[ playerid ][ xSupporter ] );
       INI_WriteInt( File, "RPLearn", PlayerInfo[ playerid ][ xRPLearn ] );
       INI_WriteInt( File, "Warn", PlayerInfo[ playerid ][ xWarn ] );
       INI_WriteInt( File, "Mute", PlayerInfo[ playerid ][ xMute ] );
       INI_WriteFloat( File, "Marker1", PlayerInfo[ playerid ][ xMarker ][ 0 ] );
       INI_WriteFloat( File, "Marker2", PlayerInfo[ playerid ][ xMarker ][ 1 ] );
       INI_WriteFloat( File, "Marker3", PlayerInfo[ playerid ][ xMarker ][ 2 ] );
       INI_WriteInt( File, "BrojNews", PlayerInfo[ playerid ][ xBrojNews ] );
       INI_WriteInt( File, "OrgUgovor", PlayerInfo[ playerid ][ xOrgUgovor ] );
      INI_WriteInt( File, "GpsLevel", PlayerInfo[ playerid ][ xGpsLevel ] );
      INI_WriteInt( File, "Helmet", PlayerInfo[ playerid ][ xHelmet ] );
      INI_WriteInt( File, "BanDays", PlayerInfo[ playerid ][ xBDays ] );
      INI_WriteInt( File, "BanMonths", PlayerInfo[ playerid ][ xBMonths ] );
      INI_WriteInt( File, "BanYear", PlayerInfo[ playerid ][ xBYears ] );
      INI_WriteInt( File, "GradRank", PlayerInfo[ playerid ][ xGradRank ] );
      INI_WriteInt( File, "SkriptaRank", PlayerInfo[ playerid ][ xSkriptaRank ] );
      INI_WriteInt( File, "UlazBL", PlayerInfo[ playerid ][ xUlazBL ] );
      INI_WriteBool( File, "Boombox", PlayerInfo[ playerid ][ xBoombox ] );
      INI_WriteFloat( File, "HelmetPos1", PlayerInfo[ playerid ][ xHelmetPos ][ 0 ] );
      INI_WriteFloat( File, "HelmetPos2", PlayerInfo[ playerid ][ xHelmetPos ][ 1 ] );
      INI_WriteFloat( File, "HelmetPos3", PlayerInfo[ playerid ][ xHelmetPos ][ 2 ] );
      INI_WriteFloat( File, "HelmetPos4", PlayerInfo[ playerid ][ xHelmetPos ][ 3 ] );
      INI_WriteFloat( File, "HelmetPos5", PlayerInfo[ playerid ][ xHelmetPos ][ 4 ] );
      INI_WriteFloat( File, "HelmetPos6", PlayerInfo[ playerid ][ xHelmetPos ][ 5 ] );
      INI_WriteFloat( File, "HelmetPos7", PlayerInfo[ playerid ][ xHelmetPos ][ 6 ] );
      INI_WriteFloat( File, "HelmetPos8", PlayerInfo[ playerid ][ xHelmetPos ][ 7 ] );
      INI_WriteFloat( File, "HelmetPos9", PlayerInfo[ playerid ][ xHelmetPos ][ 8 ] );
      INI_WriteInt( File, "Drzava", PlayerInfo[ playerid ][ xDrzava ] );
      INI_WriteString( File, "Email", PlayerInfo[ playerid ][ xEmail ] );
      INI_WriteInt( File, "VIPLevel", PlayerInfo[ playerid ][ xVIPLevel ] );
      INI_WriteInt( File, "HitmenCena", PlayerInfo[ playerid ][ xHitmenCena ] );
      INI_WriteInt( File, "Objekt1", PlayerInfo[ playerid ][ xObject ][ 0 ] );
       INI_WriteInt( File, "Objekt2", PlayerInfo[ playerid ][ xObject ][ 1 ] );
      INI_WriteInt( File, "Objekt3", PlayerInfo[ playerid ][ xObject ][ 2 ] );
       INI_WriteInt( File, "Objekt4", PlayerInfo[ playerid ][ xObject ][ 3 ] );
      INI_WriteInt( File, "Objekt5", PlayerInfo[ playerid ][ xObject ][ 4 ] );
       INI_WriteInt( File, "Objekt6", PlayerInfo[ playerid ][ xObject ][ 5 ] );
       INI_WriteInt( File, "Objekt7", PlayerInfo[ playerid ][ xObject ][ 6 ] );
       INI_WriteInt( File, "Objekt8", PlayerInfo[ playerid ][ xObject ][ 7 ] );
       INI_WriteInt( File, "Objekt9", PlayerInfo[ playerid ][ xObject ][ 8 ] );
       INI_WriteInt( File, "Objekt10", PlayerInfo[ playerid ][ xObject ][ 9 ] );
       INI_WriteInt( File, "LesLimit", PlayerInfo[ playerid ][ xLesLimit ] );
       INI_WriteInt( File, "KazneniUgovor", PlayerInfo[ playerid ][ xKazneniUgovor ] );
       INI_WriteString( File, "OffPJail", PlayerInfo[ playerid ][ xOffPJail ] );
       INI_WriteString( File, "OffPPrison", PlayerInfo[ playerid ][ xOffPPrison ] );
       INI_WriteString( File, "OffPMute", PlayerInfo[ playerid ][ xOffPMute ] );
       INI_WriteInt( File, "StaffMin", PlayerInfo[ playerid ][ xStaffMin ] );
       INI_WriteString( File, "LastLogin", PlayerInfo[ playerid ][ xLastLogin ] );
       INI_WriteBool( File, "Married", PlayerInfo[ playerid ][ xMarried ] );
      INI_WriteString( File, "MarriedTo", PlayerInfo[ playerid ][ xMarriedTo ] );
      INI_WriteBool( File, "TogMob", PlayerInfo[ playerid ][ xTogMob ] );
      INI_WriteInt( File, "HotelID", PlayerInfo[ playerid ][ xHotelID ] );
      INI_WriteInt( File, "HotelRoom", PlayerInfo[ playerid ][ xHotelRoom ] );
      INI_WriteInt( File, "Promoter", PlayerInfo[ playerid ][ xPromoter ] );
      INI_WriteInt( File, "FieldID", PlayerInfo[ playerid ][ xFieldID ] );
      INI_WriteInt( File, "Sljive", PlayerInfo[ playerid ][ xSljive ] );
      INI_WriteInt( File, "Kruske", PlayerInfo[ playerid ][ xKruske ] );
      INI_WriteInt( File, "Jabuke", PlayerInfo[ playerid ][ xJabuke ] );
      INI_WriteInt( File, "Kupus", PlayerInfo[ playerid ][ xKupus ] );
      INI_WriteInt( File, "Ruze", PlayerInfo[ playerid ][ xRuze ] );
      INI_WriteInt( File, "SemeSljive", PlayerInfo[ playerid ][ xSemeSljive ] );
      INI_WriteInt( File, "SemeKruske", PlayerInfo[ playerid ][ xSemeKruske ] );
      INI_WriteInt( File, "SemeJabuke", PlayerInfo[ playerid ][ xSemeJabuke ] );
      INI_WriteInt( File, "SemeKupusa", PlayerInfo[ playerid ][ xSemeKupusa ] );
      INI_WriteInt( File, "SemeRuze", PlayerInfo[ playerid ][ xSemeRuze ] );
      INI_WriteInt( File, "LottoNumber", PlayerInfo[ playerid ][ xLottoNumber ] );
      INI_WriteInt( File, "LottoMoney", PlayerInfo[ playerid ][ xLottoMoney ] );
      INI_WriteInt( File, "GarageID", PlayerInfo[ playerid ][ xGarageID ] );
      INI_WriteBool( File, "ImaBRacun", PlayerInfo[ playerid ][ xImaBRacun ] );
      INI_WriteInt( File, "PlatniRacun", PlayerInfo[ playerid ][ xPlatniRacun ] );
      INI_WriteBool( File, "DonatorSlot", PlayerInfo[ playerid ][ xDonatorSlot ] );
      INI_WriteInt( File, "PljackaVreme", PlayerInfo[ playerid ][ xPljackaVreme ] );
      INI_WriteInt( File, "Ranac", PlayerInfo[ playerid ][ xRanac ] );
      INI_WriteBool( File, "LeaveJail", PlayerInfo[ playerid ][ xLeaveJail ] );
      INI_WriteInt( File, "BailPrice", PlayerInfo[ playerid ][ xBailPrice ] );
      INI_WriteInt( File, "HangarTime", PlayerInfo[ playerid ][ xHangarTime ] );
      INI_WriteInt( File, "Event1Mesto", PlayerInfo[ playerid ][ xEvent1Mesto ] );
      INI_WriteInt( File, "Event2Mesto", PlayerInfo[ playerid ][ xEvent2Mesto ] );
      INI_WriteInt( File, "Event3Mesto", PlayerInfo[ playerid ][ xEvent3Mesto ] );
      INI_WriteInt( File, "DMEventUbistva", PlayerInfo[ playerid ][ xDMEventUbistva ] );
      INI_WriteInt( File, "RentID", PlayerInfo[ playerid ][ xRentID ] );
      INI_WriteInt( File, "Zlato", PlayerInfo[ playerid ][ xZlato ] );
      INI_WriteInt( File, "RezervniKljucevi", PlayerInfo[ playerid ][ xRezervniKljucevi ] );
      INI_WriteInt( File, "RadarBodovi", PlayerInfo[ playerid ][ xRadarBodovi ] );
      INI_WriteBool( File, "DBO", PlayerInfo[ playerid ][ xDBO ] );
      INI_WriteInt( File, "DBoja", PlayerInfo[ playerid ][ xDBoja ] );
      INI_Close( File );
      return true;
}

//------------------------------------------------------------------------------
[/pawn]
Founder of
Digression Community

Treba nam i učitavanje...Spremanje je koliko vidim ok.

(To ti je inače INI_Int pa po tome mozes traziti)  ako ne znaÅ¡ naziv,ili jednostavnije trazi po xrank :)

Treba ucitavanje bas od PlayerInfo :D

Facebook - Klik



Citat: Paul Castellano poslato Januar 04, 2018, 11:58:12 PRE PODNE
Treba nam i učitavanje...Spremanje je koliko vidim ok.

(To ti je inače INI_Int pa po tome mozes traziti)  ako ne znaÅ¡ naziv,ili jednostavnije trazi po xrank :)
Ovo li je? [pawn]public OcitajKorisnika( playerid, name[ ], value[ ] ) {

    INI_String( "Lozinka", PlayerInfo[ playerid ][ xLozinka ], LOZINKA_STRING );
   INI_Int( "Pol", PlayerInfo[ playerid ][ xPol ] );
   INI_Int( "Godine", PlayerInfo[ playerid ][ xGodine ] );
    INI_Int( "Novac", PlayerInfo[ playerid ][ xNovac ] );
   INI_Int( "Level", PlayerInfo[ playerid ][ xLevel ] );
   INI_Int( "Respekt", PlayerInfo[ playerid ][ xRespekt ] );
   INI_Int( "Poboljsanja", PlayerInfo[ playerid ][ xPoboljsanja ] );
   INI_Int( "PayDay", PlayerInfo[ playerid ][ xPayDay ] );
   INI_Int( "Admin", PlayerInfo[ playerid ][ xAdmin ] );
   INI_Int( "Skin", PlayerInfo[ playerid ][ xSkin ] );
   INI_Int( "Spawn", PlayerInfo[ playerid ][ xSpawn ] );
   INI_Int( "Lider", PlayerInfo[ playerid ][ xLider ] );
   INI_Int( "Clan", PlayerInfo[ playerid ][ xClan ] );
   INI_Int( "Rank", PlayerInfo[ playerid ][ xRank ] );
   INI_Int( "VoziloID1", PlayerInfo[ playerid ][ xVoziloID ][ 0 ] );
   INI_Int( "VoziloID2", PlayerInfo[ playerid ][ xVoziloID ][ 1 ] );
   INI_Int( "VoziloID3", PlayerInfo[ playerid ][ xVoziloID ][ 2 ] );
   INI_Int( "VoziloID4", PlayerInfo[ playerid ][ xVoziloID ][ 3 ] );
   INI_Int( "Materijali", PlayerInfo[ playerid ][ xMaterijali ] );
   INI_Int( "FirmaID", PlayerInfo[ playerid ][ xFirmaID ] );
   INI_Int( "Posao", PlayerInfo[ playerid ][ xPosao ] );
   INI_Int( "Ugovor", PlayerInfo[ playerid ][ xUgovor ] );
   INI_Int( "MehSkill", PlayerInfo[ playerid ][ xMehSkill ] );
   INI_Int( "MDelovi", PlayerInfo[ playerid ][ xMDelovi ] );
   INI_Int( "Head", PlayerInfo[ playerid ][ xHead ] );
   INI_Float( "HeadPos1", PlayerInfo[ playerid ][ xHeadPos ][ 0 ] );
   INI_Float( "HeadPos2", PlayerInfo[ playerid ][ xHeadPos ][ 1 ] );
   INI_Float( "HeadPos3", PlayerInfo[ playerid ][ xHeadPos ][ 2 ] );
   INI_Float( "HeadPos4", PlayerInfo[ playerid ][ xHeadPos ][ 3 ] );
   INI_Float( "HeadPos5", PlayerInfo[ playerid ][ xHeadPos ][ 4 ] );
   INI_Float( "HeadPos6", PlayerInfo[ playerid ][ xHeadPos ][ 5 ] );
   INI_Float( "HeadPos7", PlayerInfo[ playerid ][ xHeadPos ][ 6 ] );
   INI_Float( "HeadPos8", PlayerInfo[ playerid ][ xHeadPos ][ 7 ] );
   INI_Float( "HeadPos9", PlayerInfo[ playerid ][ xHeadPos ][ 8 ] );
   INI_Int( "Face", PlayerInfo[ playerid ][ xFace ] );
   INI_Float( "FacePos1", PlayerInfo[ playerid ][ xFacePos ][ 0 ] );
   INI_Float( "FacePos2", PlayerInfo[ playerid ][ xFacePos ][ 1 ] );
   INI_Float( "FacePos3", PlayerInfo[ playerid ][ xFacePos ][ 2 ] );
   INI_Float( "FacePos4", PlayerInfo[ playerid ][ xFacePos ][ 3 ] );
   INI_Float( "FacePos5", PlayerInfo[ playerid ][ xFacePos ][ 4 ] );
   INI_Float( "FacePos6", PlayerInfo[ playerid ][ xFacePos ][ 5 ] );
   INI_Float( "FacePos7", PlayerInfo[ playerid ][ xFacePos ][ 6 ] );
   INI_Float( "FacePos8", PlayerInfo[ playerid ][ xFacePos ][ 7 ] );
   INI_Float( "FacePos9", PlayerInfo[ playerid ][ xFacePos ][ 8 ] );
   INI_Int( "SungMask", PlayerInfo[ playerid ][ xSungMask ] );
   INI_Float( "SungMaskPos1", PlayerInfo[ playerid ][ xSungMaskPos ][ 0 ] );
   INI_Float( "SungMaskPos2", PlayerInfo[ playerid ][ xSungMaskPos ][ 1 ] );
   INI_Float( "SungMaskPos3", PlayerInfo[ playerid ][ xSungMaskPos ][ 2 ] );
   INI_Float( "SungMaskPos4", PlayerInfo[ playerid ][ xSungMaskPos ][ 3 ] );
   INI_Float( "SungMaskPos5", PlayerInfo[ playerid ][ xSungMaskPos ][ 4 ] );
   INI_Float( "SungMaskPos6", PlayerInfo[ playerid ][ xSungMaskPos ][ 5 ] );
   INI_Float( "SungMaskPos7", PlayerInfo[ playerid ][ xSungMaskPos ][ 6 ] );
   INI_Float( "SungMaskPos8", PlayerInfo[ playerid ][ xSungMaskPos ][ 7 ] );
   INI_Float( "SungMaskPos9", PlayerInfo[ playerid ][ xSungMaskPos ][ 8 ] );
   INI_Int( "Cigare", PlayerInfo[ playerid ][ xCigare ] );
   INI_Int( "Upaljac", PlayerInfo[ playerid ][ xUpaljac ] );
   INI_Int( "BStil", PlayerInfo[ playerid ][ xBStil ] );
   INI_Int( "Registrovan", PlayerInfo[ playerid ][ xRegistrovan ] );
   INI_Float( "SHealth", PlayerInfo[ playerid ][ xSHealth ] );
   INI_Int( "BrojTelefona", PlayerInfo[ playerid ][ xBrojTelefona ] );
   INI_Int( "Vozacka", PlayerInfo[ playerid ][ xVozacka ] );
   INI_Int( "Motorska", PlayerInfo[ playerid ][ xMotorska ] );
   INI_Int( "KamionskaC1", PlayerInfo[ playerid ][ xKamionskaC1 ] );
   INI_Int( "KamionskaC2", PlayerInfo[ playerid ][ xKamionskaC2 ] );
   INI_Int( "KamionskaC3", PlayerInfo[ playerid ][ xKamionskaC3 ] );
   INI_Int( "Brodska", PlayerInfo[ playerid ][ xBrodska ] );
   INI_Int( "Letelica", PlayerInfo[ playerid ][ xLetelica ] );
   INI_Int( "Osnovna", PlayerInfo[ playerid ][ xOsnovna ] );
   INI_Int( "Srednja", PlayerInfo[ playerid ][ xSrednja ] );
   INI_Int( "Fakultet", PlayerInfo[ playerid ][ xFakultet ] );
   INI_Int( "SkolaLimit", PlayerInfo[ playerid ][ xSkolaLimit ] );
   INI_Int( "Ubijen", PlayerInfo[ playerid ][ xUbijen ] );
   INI_Int( "Drug1", PlayerInfo[ playerid ][ xDrug ][ 0 ] );
   INI_Int( "Drug2", PlayerInfo[ playerid ][ xDrug ][ 1 ] );
   INI_Int( "Drug3", PlayerInfo[ playerid ][ xDrug ][ 2 ] );
   INI_Int( "Drug4", PlayerInfo[ playerid ][ xDrug ][ 3 ] );
   INI_Int( "Drug5", PlayerInfo[ playerid ][ xDrug ][ 4 ] );
   INI_Int( "DrugCode1", PlayerInfo[ playerid ][ xDrugCode ][ 0 ] );
   INI_Int( "DrugCode2", PlayerInfo[ playerid ][ xDrugCode ][ 1 ] );
   INI_Int( "DrugCode3", PlayerInfo[ playerid ][ xDrugCode ][ 2 ] );
   INI_Int( "DrugCode4", PlayerInfo[ playerid ][ xDrugCode ][ 3 ] );
   INI_Int( "DrugCode5", PlayerInfo[ playerid ][ xDrugCode ][ 4 ] );
   INI_Int( "Solna", PlayerInfo[ playerid ][ xSolna ] );
   INI_Int( "Pseudo", PlayerInfo[ playerid ][ xPseudo ] );
   INI_Int( "SodaB", PlayerInfo[ playerid ][ xSodaB ] );
   INI_Int( "CrveniF", PlayerInfo[ playerid ][ xCrveniF ] );
   INI_Int( "LysAcid", PlayerInfo[ playerid ][ xLysAcid ] );
   INI_Int( "DesVoda", PlayerInfo[ playerid ][ xDesVoda ] );
   INI_Int( "Marihuana", PlayerInfo[ playerid ][ xMarihuana ] );
   INI_Int( "Opium", PlayerInfo[ playerid ][ xOpium ] );
   INI_Int( "Kalcijum", PlayerInfo[ playerid ][ xKalcij ] );
   INI_Int( "AmonijumHlorid", PlayerInfo[ playerid ][ xAmonijH ] );
   INI_Int( "Kokain", PlayerInfo[ playerid ][ xKokain ] );
   INI_Int( "Kokain2", PlayerInfo[ playerid ][ xKokain2 ] );
   INI_Int( "MetilAmin", PlayerInfo[ playerid ][ xMetilAmin ] );
   INI_Int( "Hunger", PlayerInfo[ playerid ][ xHunger ] );
   INI_Bool( "HeroinAddict", PlayerInfo[ playerid ][ xHeroinAddict ] );
   INI_Int( "HeroinUsed", PlayerInfo[ playerid ][ xHeroinUsed ] );
   INI_Int( "HeroinIndicator", PlayerInfo[ playerid ][ xHeroinIndicator ] );
   INI_Bool( "CokeCrackAddict", PlayerInfo[ playerid ][ xCokeCrackAddict ] );
   INI_Int( "CokeCrackUsed", PlayerInfo[ playerid ][ xCokeCrackUsed ] );
   INI_Int( "CokeCrackIndicator", PlayerInfo[ playerid ][ xCokeCrackIndicator ] );
   INI_Bool( "MethAddict", PlayerInfo[ playerid ][ xMethAddict ] );
   INI_Int( "MethIndicator", PlayerInfo[ playerid ][ xMethIndicator ] );
      INI_Int( "MethUsed", PlayerInfo[ playerid ][ xMethUsed ] );
      INI_Bool( "Inekcija", PlayerInfo[ playerid ][ xInekcija ] );
      INI_Bool( "Toolkit", PlayerInfo[ playerid ][ xToolkit ] );
      INI_Int( "Property1", PlayerInfo[ playerid ][ xProperty ][ 0 ] );
      INI_Int( "Property2", PlayerInfo[ playerid ][ xProperty ][ 1 ] );
      INI_Int( "Property3", PlayerInfo[ playerid ][ xProperty ][ 2 ] );
      INI_Bool( "GunLicense", PlayerInfo[ playerid ][ xGunLicense ] );
      INI_Int( "TelefonBon", PlayerInfo[ playerid ][ xTelefonBon ] );
      INI_Int( "ModelTelefona", PlayerInfo[ playerid ][ xModelTelefona ] );
      INI_Int( "Snaga", PlayerInfo[ playerid ][ xSnaga ] );
      INI_Int( "Zatvor", PlayerInfo[ playerid ][ xZatvor ] );
      INI_Int( "ZatvorVreme", PlayerInfo[ playerid ][ xZatvorVreme ] );
      INI_Int( "Wanted", PlayerInfo[ playerid ][ xWanted ] );
      INI_Int( "Uhapsen", PlayerInfo[ playerid ][ xUhapsen ] );
      INI_Int( "PDUhapsio", PlayerInfo[ playerid ][ xPDUhapsio ] );
      INI_Int( "PDStatsTicket", PlayerInfo[ playerid ][ xPDStatsTicket ] );
   INI_Int( "PDStatsTicketMoney", PlayerInfo[ playerid ][ xPDStatsTicketMoney ] );
   INI_Int( "TakenWeps", PlayerInfo[ playerid ][ xTakenWeps ] );
      INI_Int( "TakenDrugs", PlayerInfo[ playerid ][ xTakenDrugs ] );
      INI_Int( "PocetniTut", PlayerInfo[ playerid ][ xPocetniTut ] );
      INI_Int( "AKod", PlayerInfo[ playerid ][ xAKod ] );
      INI_Int( "Sat", PlayerInfo[ playerid ][ xSat ] );
      INI_Int( "MaskID", PlayerInfo[ playerid ][ xMaskID ] );
      INI_Int( "BRacun", PlayerInfo[ playerid ][ xBRacun ] );
      INI_Int( "PreostaloZaOtplatu", PlayerInfo[ playerid ][ xPreostaloZaOtplatu ] );
      INI_Int( "IznosRate", PlayerInfo[ playerid ][ xIznosRate ] );
      INI_Int( "IznosKredita", PlayerInfo[ playerid ][ xIznosKredita ] );
      INI_Int( "OnlineSati", PlayerInfo[ playerid ][ xOnlineSati ] );
      INI_Int( "RPTeacher", PlayerInfo[ playerid ][ xSupporter ] );
      INI_Int( "RPLearn", PlayerInfo[ playerid ][ xRPLearn ] );
      INI_Int( "Warn", PlayerInfo[ playerid ][ xWarn ] );
      INI_Int( "Mute", PlayerInfo[ playerid ][ xMute ] );
      INI_Float( "Marker1", PlayerInfo[ playerid ][ xMarker ][ 0 ] );
      INI_Float( "Marker2", PlayerInfo[ playerid ][ xMarker ][ 1 ] );
      INI_Float( "Marker3", PlayerInfo[ playerid ][ xMarker ][ 2 ] );
      INI_Int( "BrojNews", PlayerInfo[ playerid ][ xBrojNews ] );
      INI_Int( "OrgUgovor", PlayerInfo[ playerid ][ xOrgUgovor ] );
   INI_Int( "GpsLevel", PlayerInfo[ playerid ][ xGpsLevel ] );
   INI_Int( "Helmet", PlayerInfo[ playerid ][ xHelmet ] );
   INI_Int( "BanDays", PlayerInfo[ playerid ][ xBDays ] );
   INI_Int( "BanMonths", PlayerInfo[ playerid ][ xBMonths ] );
   INI_Int( "BanYear", PlayerInfo[ playerid ][ xBYears ] );
   INI_Int( "GradRank", PlayerInfo[ playerid ][ xGradRank ] );
   INI_Int( "SkriptaRank", PlayerInfo[ playerid ][ xSkriptaRank ] );
   INI_Int( "UlazBL", PlayerInfo[ playerid ][ xUlazBL ] );
   INI_Bool( "Boombox", PlayerInfo[ playerid ][ xBoombox ] );
   INI_Float( "HelmetPos1", PlayerInfo[ playerid ][ xHelmetPos ][ 0 ] );
   INI_Float( "HelmetPos2", PlayerInfo[ playerid ][ xHelmetPos ][ 1 ] );
   INI_Float( "HelmetPos3", PlayerInfo[ playerid ][ xHelmetPos ][ 2 ] );
   INI_Float( "HelmetPos4", PlayerInfo[ playerid ][ xHelmetPos ][ 3 ] );
   INI_Float( "HelmetPos5", PlayerInfo[ playerid ][ xHelmetPos ][ 4 ] );
   INI_Float( "HelmetPos6", PlayerInfo[ playerid ][ xHelmetPos ][ 5 ] );
   INI_Float( "HelmetPos7", PlayerInfo[ playerid ][ xHelmetPos ][ 6 ] );
   INI_Float( "HelmetPos8", PlayerInfo[ playerid ][ xHelmetPos ][ 7 ] );
   INI_Float( "HelmetPos9", PlayerInfo[ playerid ][ xHelmetPos ][ 8 ] );
   INI_Int( "Drzava", PlayerInfo[ playerid ][ xDrzava ] );
   INI_String( "Email", PlayerInfo[ playerid ][ xEmail ], 34 );
   INI_Int( "VIPLevel", PlayerInfo[ playerid ][ xVIPLevel ] );
   INI_Int( "HitmenCena", PlayerInfo[ playerid ][ xHitmenCena ] );
   INI_Int( "Objekt1", PlayerInfo[ playerid ][ xObject ][ 0 ] );
    INI_Int( "Objekt2", PlayerInfo[ playerid ][ xObject ][ 1 ] );
   INI_Int( "Objekt3", PlayerInfo[ playerid ][ xObject ][ 2 ] );
    INI_Int( "Objekt4", PlayerInfo[ playerid ][ xObject ][ 3 ] );
   INI_Int( "Objekt5", PlayerInfo[ playerid ][ xObject ][ 4 ] );
    INI_Int( "Objekt6", PlayerInfo[ playerid ][ xObject ][ 5 ] );
    INI_Int( "Objekt7", PlayerInfo[ playerid ][ xObject ][ 6 ] );
    INI_Int( "Objekt8", PlayerInfo[ playerid ][ xObject ][ 7 ] );
   INI_Int( "Objekt9", PlayerInfo[ playerid ][ xObject ][ 8 ] );
    INI_Int( "Objekt10", PlayerInfo[ playerid ][ xObject ][ 9 ] );
    INI_Int( "LesLimit", PlayerInfo[ playerid ][ xLesLimit ] );
    INI_Int( "KazneniUgovor", PlayerInfo[ playerid ][ xKazneniUgovor ] );
    INI_String( "OffPJail", PlayerInfo[ playerid ][ xOffPJail ], 64 );
    INI_String( "OffPPrison", PlayerInfo[ playerid ][ xOffPPrison ], 64 );
    INI_String( "OffPMute", PlayerInfo[ playerid ][ xOffPMute ], 64 );
    INI_Int( "StaffMin", PlayerInfo[ playerid ][ xStaffMin ] );
    INI_String( "LastLogin", PlayerInfo[ playerid ][ xLastLogin ], 64 );
    INI_Bool( "Married", PlayerInfo[ playerid ][ xMarried ] );
   INI_String( "MarriedTo", PlayerInfo[ playerid ][ xMarriedTo ], 24 );
   INI_Bool( "TogMob", PlayerInfo[ playerid ][ xTogMob ] );
   INI_Int( "HotelID", PlayerInfo[ playerid ][ xHotelID ] );
   INI_Int( "HotelRoom", PlayerInfo[ playerid ][ xHotelRoom ] );
   INI_Int( "Promoter", PlayerInfo[ playerid ][ xPromoter ] );
   INI_Int( "FieldID", PlayerInfo[ playerid ][ xFieldID ] );
   INI_Int( "Sljive", PlayerInfo[ playerid ][ xSljive ] );
   INI_Int( "Kruske", PlayerInfo[ playerid ][ xKruske ] );
   INI_Int( "Jabuke", PlayerInfo[ playerid ][ xJabuke ] );
   INI_Int( "Kupus", PlayerInfo[ playerid ][ xKupus ] );
   INI_Int( "Ruze", PlayerInfo[ playerid ][ xRuze ] );
   INI_Int( "SemeSljive", PlayerInfo[ playerid ][ xSemeSljive ] );
   INI_Int( "SemeKruske", PlayerInfo[ playerid ][ xSemeKruske ] );
   INI_Int( "SemeJabuke", PlayerInfo[ playerid ][ xSemeJabuke ] );
   INI_Int( "SemeKupusa", PlayerInfo[ playerid ][ xSemeKupusa ] );
   INI_Int( "SemeRuze", PlayerInfo[ playerid ][ xSemeRuze ] );
   INI_Int( "LottoNumber", PlayerInfo[ playerid ][ xLottoNumber ] );
   INI_Int( "LottoMoney", PlayerInfo[ playerid ][ xLottoMoney ] );
   INI_Int( "GarageID", PlayerInfo[ playerid ][ xGarageID ] );
   INI_Bool( "ImaBRacun", PlayerInfo[ playerid ][ xImaBRacun ] );
   INI_Int( "PlatniRacun", PlayerInfo[ playerid ][ xPlatniRacun ] );
   INI_Bool( "DonatorSlot", PlayerInfo[ playerid ][ xDonatorSlot ] );
   INI_Int( "PljackaVreme", PlayerInfo[ playerid ][ xPljackaVreme ] );
   INI_Int( "Ranac", PlayerInfo[ playerid ][ xRanac ] );
   INI_Bool( "LeaveJail", PlayerInfo[ playerid ][ xLeaveJail ] );
   INI_Int( "BailPrice", PlayerInfo[ playerid ][ xBailPrice ] );
   INI_Int( "HangarTime", PlayerInfo[ playerid ][ xHangarTime ] );
   INI_Int( "Event1Mesto", PlayerInfo[ playerid ][ xEvent1Mesto ] );
   INI_Int( "Event2Mesto", PlayerInfo[ playerid ][ xEvent2Mesto ] );
   INI_Int( "Event3Mesto", PlayerInfo[ playerid ][ xEvent3Mesto ] );
   INI_Int( "DMEventUbistva", PlayerInfo[ playerid ][ xDMEventUbistva ] );
   INI_Int( "RentID", PlayerInfo[ playerid ][ xRentID ] );
   INI_Int( "Zlato", PlayerInfo[ playerid ][ xZlato ] );
   INI_Int( "RezervniKljucevi", PlayerInfo[ playerid ][ xRezervniKljucevi ] );
   INI_Int( "RadarBodovi", PlayerInfo[ playerid ][ xRadarBodovi ] );
   INI_Bool( "DBO", PlayerInfo[ playerid ][ xDBO ] );
   INI_Int( "DBoja", PlayerInfo[ playerid ][ xDBoja ] );
   return true;
}[/pawn]
Founder of
Digression Community

Jesi li zamjenio komandu pa testirao?

Jel kada upalis samp-server.exe daje ti na Run Time error 20? , imao sam isti problem fix sam runtime error i eto
-propo-

Citat: NapaćeniBošnjo poslato Januar 04, 2018, 19:50:20 POSLE PODNE
Jel kada upalis samp-server.exe daje ti na Run Time error 20? , imao sam isti problem fix sam runtime error i eto

ha? lol

aj ti nama daj server.log tu kad kucas f daj si sam lidera i pisi ,odi relog probaj pisat ako nista vidi log ako sta baca daj log, al nema to veze ako ti makne rank  nebi imo lidera, ako ti nece htjet pisat probaj si dat rank, 1,2 nebitno, ako ces onda moc pisat onda je do xranka..
Poslednja Izmena: Januar 04, 2018, 19:58:35 POSLE PODNE od Savana
CroHerze Skripter