! - . . , , . , , , (, ) . !




 
VK: vk.com/sergey68

76890 - 1000,46860 - 500, 300
** V.I.P --> **

:

1 7 7

  1. #1

      Gasilator

    :
    :02.03.2012
    ://
    :112
    :34 [+/-] 

    ! :
    , , 2 .


    :

    OnGameModeInit:
    :
    	LoadHouses();//????????? ????.
     	for(new h = 0; h < AllHouse; h++)
        {
    		new string[256];
    		if(HousesInfo[h][hOwned] == 0)
            {
                format(string,sizeof(string), "{FF9900}***  ***\n\n{ffffff}: {AFAFAF}%d\n{FFFFFF}: {AFAFAF}%d {FFFFFF}[$]\n: {AFAFAF}%d{ffffff}\n\n ,  {AFAFAF}/buyhouse",h,HousesInfo[h][hPrice],HousesInfo[h][hLevel]);
                houses_text[h] = Create3DTextLabel(string, 0xFFFFFFFF, HousesInfo[h][hX], HousesInfo[h][hY], HousesInfo[h][hZ]+0.5, 10.0, 0, 1);
                HousesInfo[h][hIcon] = CreateDynamicMapIcon(HousesInfo[h][hX], HousesInfo[h][hY], HousesInfo[h][hZ], 31, 0xFAFAFA, 0, -1, -1, 400.0);
                HousesInfo[h][hPickup] = CreateDynamicPickup(1273, 23, HousesInfo[h][hX], HousesInfo[h][hY], HousesInfo[h][hZ]);
            }
            else if(HousesInfo[h][hOwned] == 1)
            {
                format(string,sizeof(string), "  %d\n\n: %d\n: %s",h,HousesInfo[h][hLevel],HousesInfo[h][hOwner]);
                houses_text[h] = Create3DTextLabel(string, 0xFFFFFFFF, HousesInfo[h][hX], HousesInfo[h][hY], HousesInfo[h][hZ]+0.5, 10.0, 0, 1);
                HousesInfo[h][hIcon] = CreateDynamicMapIcon(HousesInfo[h][hX], HousesInfo[h][hY], HousesInfo[h][hZ], 32, 0xFAFAFA, 0, -1, -1, 400.0);
                HousesInfo[h][hPickup] = CreateDynamicPickup(1272, 23, HousesInfo[h][hX], HousesInfo[h][hY], HousesInfo[h][hZ]);
            }
        }
    :
    stock LoadHouses()
    {
        new File = ini_openFile("House/config.ini");
        ini_getInteger(File,"Houses",AllHouse);
        ini_closeFile(File);
        new arrCoords[10][64];
        new strFromFile2[256];
        new File: file = fopen("House/houses.cfg", io_read);
        if(file)
        {
            new idx;
            while (idx < AllHouse)
            {
                fread(file, strFromFile2);
                split(strFromFile2, arrCoords, ',');
                HousesInfo[idx][hOwned] = strval(arrCoords[0]);
                strmid(HousesInfo[idx][hOwner], arrCoords[1], 0, strlen(arrCoords[1]), 255);
                HousesInfo[idx][hX] = floatstr(arrCoords[2]);
                HousesInfo[idx][hY] = floatstr(arrCoords[3]);
                HousesInfo[idx][hZ] = floatstr(arrCoords[4]);
                HousesInfo[idx][hInterior] = strval(arrCoords[5]);
                HousesInfo[idx][hVirtWorld] = strval(arrCoords[6]);
                HousesInfo[idx][hPrice] = strval(arrCoords[7]);
                HousesInfo[idx][hLock] = strval(arrCoords[8]);
                HousesInfo[idx][hLevel] = strval(arrCoords[9]);
                idx++;
            }
            printf("[  ... ]   - %d",idx);
            fclose(file);
        }
        return true;
    }
    ?
    []
    [Include]CarModificator
    [MAP]NRG500
    [MAP]Tron Race
  2. #2
    V.I.P

      gangzone.ini

    :
    :21.05.2015
    :569
    :265 [+/-] 
    , 2
    -
  3. #3

      Hunter-Killer

    :
    :24.09.2017
    :Arizona ST
    :228
    :7 [+/-] 
    ? , , .
  4. #4

      Gasilator

    :
    :02.03.2012
    ://
    :112
    :34 [+/-] 
    , .
  5. #5

      Pa4enka

    :
    :26.05.2017
    :,
    :128
    :9 [+/-] 
    PHP :
    stock LoadHouses()
    {
        new 
    File ini_openFile("House/config.ini");
        
    ini_getInteger(File,"Houses",AllHouse);
        
    ini_closeFile(File);
        new 
    arrCoords[10][64];
        new 
    strFromFile2[256];
        new 
    Filefile fopen("House/houses.cfg"io_read);
        if(
    file)
        {
            new 
    idx;
            while (
    idx AllHouse)
            {
                
    fread(filestrFromFile2);
                
    split(strFromFile2arrCoords',');
                
    HousesInfo[idx][hOwned] = strval(arrCoords[0]);
                
    strmid(HousesInfo[idx][hOwner], arrCoords[1], 0strlen(arrCoords[1]), 255);
                
    HousesInfo[idx][hX] = floatstr(arrCoords[2]);
                
    HousesInfo[idx][hY] = floatstr(arrCoords[3]);
                
    HousesInfo[idx][hZ] = floatstr(arrCoords[4]);
                
    HousesInfo[idx][hInterior] = strval(arrCoords[5]);
                
    HousesInfo[idx][hVirtWorld] = strval(arrCoords[6]);
                
    HousesInfo[idx][hPrice] = strval(arrCoords[7]);
                
    HousesInfo[idx][hLock] = strval(arrCoords[8]);
                
    HousesInfo[idx][hLevel] = strval(arrCoords[9]);

                if( !
    HousesInfo[idx][hOwned] ) {

                    
    format(string,sizeof(string), "\
                        {FF9900}***  ***\n\n{ffffff}: {AFAFAF}%d\n\
                            {FFFFFF}: {AFAFAF}%d {FFFFFF}[$]\n: {AFAFAF}%d{ffffff}\n\
                                \n\ ,  {AFAFAF}/buyhouse"
    ,
                        
    idxHousesInfo[idx][hPrice], HousesInfo[idx][hLevel]
                    );
                } else if( 
    HousesInfo[idx][hOwned] ) {
     
                    
    format(stringsizeof string"  %d\n\n: %d\n: %s",
                        
    idxHousesInfo[idx][hLevel], HousesInfo[idx][hOwner]
                    );
     
                }
     
                
    houses_text[idx] = Create3DTextLabel(string0xFFFFFFFFHousesInfo[idx][hX], HousesInfo[idx][hY],
                    
    HousesInfo[idx][hZ]+0.510.001
                
    );
                
    HousesInfo[idx][hIcon] = CreateDynamicMapIcon(HousesInfo[idx][hX], HousesInfo[idx][hY], HousesInfo[idx][hZ], 
                    
    HousesInfo[idx][hOwned] ? 32 310xFAFAFA
                
    );
                
    HousesInfo[idx][hPickup] = CreateDynamicPickup(HousesInfo[idx][hOwned] ? 1272 127323
                    
    HousesInfo[idx][hX], HousesInfo[idx][hY], HousesInfo[idx][hZ]
                );

                
    idx++;
            }
            
    printf("[  ... ]   - %d",idx);
            
    fclose(file);
        }
        return 
    true;

    OnGameModeInit , LoadHouses
    + "Houses" . , , while , .
    Pa4enka; 07.10.2019 19:53.
    dev: g-rp.su
  6. #6

      Gasilator

    :
    :02.03.2012
    ://
    :112
    :34 [+/-] 
    , - ..
    "houses" "config" , - .
  7. #7

      Pa4enka

    :
    :26.05.2017
    :,
    :128
    :9 [+/-] 
    sscanf.

    :
    PHP :
    fread(filestrFromFile2);
    split(strFromFile2arrCoords',');
    HousesInfo[idx][hOwned] = strval(arrCoords[0]);
    strmid(HousesInfo[idx][hOwner], arrCoords[1], 0strlen(arrCoords[1]), 255);
    HousesInfo[idx][hX] = floatstr(arrCoords[2]);
    HousesInfo[idx][hY] = floatstr(arrCoords[3]);
    HousesInfo[idx][hZ] = floatstr(arrCoords[4]);
    HousesInfo[idx][hInterior] = strval(arrCoords[5]);
    HousesInfo[idx][hVirtWorld] = strval(arrCoords[6]);
    HousesInfo[idx][hPrice] = strval(arrCoords[7]);
    HousesInfo[idx][hLock] = strval(arrCoords[8]);
    HousesInfo[idx][hLevel] = strval(arrCoords[9]); 
    :
    PHP :
    fread(filestrFromFile2);
    sscanf(strFromFile2"p<,>is[24]fffiiiii"
        
    HousesInfo[idx][hOwned],
        
    HousesInfo[idx][hOwner],
        
    HousesInfo[idx][hX],
        
    HousesInfo[idx][hY],
        
    HousesInfo[idx][hZ],
        
    HousesInfo[idx][hInterior],
        
    HousesInfo[idx][hVirtWorld],
        
    HousesInfo[idx][hPrice],
        
    HousesInfo[idx][hLock],
        
    HousesInfo[idx][hLevel]
    ); 
    Pa4enka; 09.10.2019 20:31.
    dev: g-rp.su

, : 18

(, , , , , ), , .
!
samp-rp advanvce pawn s0beit cs 1.6 0.3x World of Tanks samp-rp, samp-rp, - PAWNO SA-MP IV-MP MTA cleo s0beit sobeit sa-mp sa-mp pawno pawno pawno iv-mp iv-mp iv-mp godfather SAMP gta 4 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather rp roleplay samp-rp sa-mp sa-mp pawno gta-iv gta-v gta-sa gta-3 gta-III gta-4 gta-5 gta-vc mta mta-dm mta-race mta-sa pawno info ru pawno pawno gta-iv gta-iv gta-v gta-v gta-iv keygen gta sa gta 4 multiplayer gta san adnreas multiplayer sa-mp forum sa-mp pawno sa-mp pawno sa-mp gta-sa pawno pawno errors sa-mp 0.3c SA-MP 0.3d 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather SAMP hack rat android instagram twitter ddos root linux ubuntu mac android advance arizona 4g