Properties Price

    Compartilhe

    Deadstroke
    Scripter CLEO - Intermediário
    Scripter CLEO - Intermediário

    Plataforma : PC
    Fabricante: Acer
    Processador: Intel(R) Core(TM) i3-2338M CPU 2.20 GHz
    Memória RAM: 4 GB
    Sistema: x64, windows 10
    Placa de Vídeo: Intel Graphics 3000
    Mensagens : 316
    Reputação : 20
    Localização : São Paulo

    Properties Price

    Mensagem por Deadstroke em Sab 16 Abr 2016, 20:53

    Properties Price



    Autor: Deadstroke
    Versão: 0.1
    Descrição: o jogo não lhe permite alterar o preço de propriedades e os valores máxmos e taxas de crescimento de negócios rentáveis. Esse mod permitirá isso!

    Download: https://drive.google.com/folderview?id=0B37TrXDep9JwQmx0NlJWLUFGems&usp=sharing

    Script:

    Código:
    /*
    HousePrice By Deadstroke
    */
    {$CLEO .cs}
    thread 'PropPr'

    var
       0@  : INTEGER
       1@  : INTEGER
       2@  : INTEGER
       3@  : INTEGER = 0
       4@  : INTEGER = 0
    end

    wait 0

    //Verificando se o .ini existe
    if  8AAB:   not file_exists "cleo\PropertiesPrice.ini"
    then
       0ACD: show_text_highpriority "Unable to load ~b~'CLEO/PropertiesPrice.ini'" time 5000
       0A93: end_custom_thread
    end

    //START: PROPERTY'S PRICES

    //Propriedade 00 - Wang Cars - business bought
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP00"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[0] created
       0@ > 0
    then    
       008A: $1653 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[0]
       0518: $BUY_ASSET_PICKUPS[0] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[0] $Y_Property_To_Buy[0] $Z_Property_To_Buy[0] price $1653
    end

    //Propriedade 01 - Zero RC Toys -  business bought
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP01"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[1] created
       0@ > 0
    then    
       008A: $1654 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[1]
       0518: $BUY_ASSET_PICKUPS[1] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[1] $Y_Property_To_Buy[1] $Z_Property_To_Buy[1] price $1654
    end

    //Propriedade 02 - Abandoned Airport -  business bought
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP02"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[2] created
       0@ > 0
    then    
       008A: $1655 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[2]
       0518: $BUY_ASSET_PICKUPS[2] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[2] $Y_Property_To_Buy[2] $Z_Property_To_Buy[2] price $1655
    end

    //Propriedade 03 - Santa Maria Beach Safehouse - Los Santos
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP03"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[3] created
       0@ > 0
    then    
       008A: $1656 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[3]
       0518: $BUY_ASSET_PICKUPS[3] = create_available_asset_pickup 'PROP_3' at $X_Property_To_Buy[3] $Y_Property_To_Buy[3] $Z_Property_To_Buy[3] price $1656
    end

    //Propriedade 04 - Rockshore West Safehouse - Las Venturas
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP04"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[4] created
       0@ > 0
    then    
       008A: $1657 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[4]
       0518: $BUY_ASSET_PICKUPS[4] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[4] $Y_Property_To_Buy[4] $Z_Property_To_Buy[4] price $1657
    end

    //Propriedade 05 - Fort Carson Safehouse - Desert
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP05"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[5] created
       0@ > 0
    then    
       008A: $1658 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[5]
       0518: $BUY_ASSET_PICKUPS[5] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[5] $Y_Property_To_Buy[5] $Z_Property_To_Buy[5] price $1658
    end

    //Propriedade 06 - Prickle Pine Safehouse - Las Venturas
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP06"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[6] created
       0@ > 0
    then    
       008A: $1659 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[6]
       0518: $BUY_ASSET_PICKUPS[6] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[6] $Y_Property_To_Buy[6] $Z_Property_To_Buy[6] price $1659
    end

    //Propriedade 07 - Whitewood Estates Safehouse - Las Venturas
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP07"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[7] created
       0@ > 0
    then    
       008A: $1660 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[7]
       0518: $BUY_ASSET_PICKUPS[7] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[7] $Y_Property_To_Buy[7] $Z_Property_To_Buy[7] price $1660
    end

    //Propriedade 08 - Palomino Creek Safehouse - LS County
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP08"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[8] created
       0@ > 0
    then    
       008A: $1661 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[8]
       0518: $BUY_ASSET_PICKUPS[8] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[8] $Y_Property_To_Buy[8] $Z_Property_To_Buy[8] price $1661
    end

    //Propriedade 09 - Redsands West Safehouse - Las Venturas
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP09"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[9] created
       0@ > 0
    then    
       008A: $1662 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[9]
       0518: $BUY_ASSET_PICKUPS[9] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[9] $Y_Property_To_Buy[9] $Z_Property_To_Buy[9] price $1662
    end

    //Propriedade 10 - El Corona Safehouse - Los Santos
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP10"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[10] created
       0@ > 0
    then    
       008A: $1663 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[10]
       0518: $BUY_ASSET_PICKUPS[10] = create_available_asset_pickup 'PROP_3' at $X_Property_To_Buy[10] $Y_Property_To_Buy[10] $Z_Property_To_Buy[10] price $1663
    end

    //Propriedade 11 - Calton Heights Safehouse - San Fierro
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP11"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[11] created
       0@ > 0
    then    
       008A: $1664 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[11]
       0518: $BUY_ASSET_PICKUPS[11] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[11] $Y_Property_To_Buy[11] $Z_Property_To_Buy[11] price $1664
    end

    //Propriedade 12 - Mulholland Safehouse - Los Santos
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP12"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[12] created
       0@ > 0
    then    
       008A: $1665 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[12]
       0518: $BUY_ASSET_PICKUPS[12] = create_available_asset_pickup 'PROP_3' at $X_Property_To_Buy[12] $Y_Property_To_Buy[12] $Z_Property_To_Buy[12] price $1665
    end

    //Propriedade 13 - Paradiso Safehouse - San Fierro
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP13"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[13] created
       0@ > 0
    then    
       008A: $1666 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[13]
       0518: $BUY_ASSET_PICKUPS[13] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[13] $Y_Property_To_Buy[13] $Z_Property_To_Buy[13] price $1666
    end

    //Propriedade 14 - Hashbury Safehouse - San Fierro
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP14"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[14] created
       0@ > 0
    then    
       008A: $1667 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[14]
       0518: $BUY_ASSET_PICKUPS[14] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[14] $Y_Property_To_Buy[14] $Z_Property_To_Buy[14] price $1667
    end

    //Propriedade 15 - Verona Beach Safehouse - Los Santos
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP15"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[15] created
       0@ > 0
    then    
       008A: $1668 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[15]
       0518: $BUY_ASSET_PICKUPS[15] = create_available_asset_pickup 'PROP_3' at $X_Property_To_Buy[15] $Y_Property_To_Buy[15] $Z_Property_To_Buy[15] price $1668
    end

    //Propriedade 16 - Pirates in Men's Pants Hotel Suite - Las Venturas
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP16"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[16] created
       0@ > 0
    then    
       008A: $1669 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[16]
       0518: $BUY_ASSET_PICKUPS[16] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[16] $Y_Property_To_Buy[16] $Z_Property_To_Buy[16] price $1669
    end

    //Propriedade 17 - The Camel's Toe Hotel Suite - Las Venturas
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP17"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[17] created
       0@ > 0
    then    
       008A: $1670 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[17]
       0518: $BUY_ASSET_PICKUPS[17] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[17] $Y_Property_To_Buy[17] $Z_Property_To_Buy[17] price $1670
    end

    //Propriedade 18 - Chinatown Safehouse - San Fierro
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP18"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[18] created
       0@ > 0
    then    
       008A: $1671 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[18]
       0518: $BUY_ASSET_PICKUPS[18] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[18] $Y_Property_To_Buy[18] $Z_Property_To_Buy[18] price $1671
    end

    //Propriedade 19 - Flint County Safehouse - SF County
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP19"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[19] created
       0@ > 0
    then    
       008A: $1672 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[19]
       0518: $BUY_ASSET_PICKUPS[19] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[19] $Y_Property_To_Buy[19] $Z_Property_To_Buy[19] price $1672
    end

    //Propriedade 20 - Doherty Safehouse (it's not the garage!) - San Fierro
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP20"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[20] created
       0@ > 0
    then    
       008A: $1673 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[20]
       0518: $BUY_ASSET_PICKUPS[20] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[20] $Y_Property_To_Buy[20] $Z_Property_To_Buy[20] price $1673
    end

    //Propriedade 21 - Queens Hotel Suite - San Fierro
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP21"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[21] created
       0@ > 0
    then    
       008A: $1674 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[21]
       0518: $BUY_ASSET_PICKUPS[21] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[21] $Y_Property_To_Buy[21] $Z_Property_To_Buy[21] price $1674
    end

    //Propriedade 22 - Angel Pine Safehouse - SF County
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP22"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[22] created
       0@ > 0
    then    
       008A: $1675 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[22]
       0518: $BUY_ASSET_PICKUPS[22] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[22] $Y_Property_To_Buy[22] $Z_Property_To_Buy[22] price $1675
    end

    //Propriedade 23 - El Quebrados Safehouse - Desert
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP23"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[23] created
       0@ > 0
    then    
       008A: $1676 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[23]
       0518: $BUY_ASSET_PICKUPS[23] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[23] $Y_Property_To_Buy[23] $Z_Property_To_Buy[23] price $1676
    end  

    //Propriedade 24 - Tierra Robada Safehouse - Desert
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP24"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[24] created
       0@ > 0
    then    
       008A: $1677 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[24]
       0518: $BUY_ASSET_PICKUPS[24] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[24] $Y_Property_To_Buy[24] $Z_Property_To_Buy[24] price $1677
    end

    //Propriedade 25 - Dillimore Safehouse - LS County
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP25"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[25] created
       0@ > 0
    then    
       008A: $1678 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[25]
       0518: $BUY_ASSET_PICKUPS[25] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[25] $Y_Property_To_Buy[25] $Z_Property_To_Buy[25] price $1678
    end

    //Propriedade 26 - Jefferson Safehouse - Los Santos
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP26"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[26] created
       0@ > 0
    then    
       008A: $1679 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[26]
       0518: $BUY_ASSET_PICKUPS[26] = create_available_asset_pickup 'PROP_3' at $X_Property_To_Buy[26] $Y_Property_To_Buy[26] $Z_Property_To_Buy[26] price $1679
    end

    //Propriedade 27 - Old Venturas Strip Hotel Suite - Las Venturas
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP27"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[27] created
       0@ > 0
    then    
       008A: $1680 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[27]
       0518: $BUY_ASSET_PICKUPS[27] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[27] $Y_Property_To_Buy[27] $Z_Property_To_Buy[27] price $1680
    end

    //Propriedade 28 - The Clown's Pocket Hotel Suite - Las Venturas
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP28"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[28] created
       0@ > 0
    then    
       008A: $1681 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[28]
       0518: $BUY_ASSET_PICKUPS[28] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[28] $Y_Property_To_Buy[28] $Z_Property_To_Buy[28] price $1681
    end

    //Propriedade 29 - Creek Safehouse - Las Venturas
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP29"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[29] created
       0@ > 0
    then    
       008A: $1682 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[29]
       0518: $BUY_ASSET_PICKUPS[29] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[29] $Y_Property_To_Buy[29] $Z_Property_To_Buy[29] price $1682
    end

    //Propriedade 30 - Willowfield Safehouse - Los Santos
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP30"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[30] created
       0@ > 0
    then    
       008A: $1683 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[30]
       0518: $BUY_ASSET_PICKUPS[30] = create_available_asset_pickup 'PROP_3' at $X_Property_To_Buy[30] $Y_Property_To_Buy[30] $Z_Property_To_Buy[30] price $1683
    end

    //Propriedade 31 - Blueberry Safehouse - LS County
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "PropertyPrice" key "PROP31"
    then    0@ = -1
    end
    if and
       09D1:   pickup $BUY_ASSET_PICKUPS[31] created
       0@ > 0
    then    
       008A: $1684 = 0@
       0215: destroy_pickup $BUY_ASSET_PICKUPS[31]
       0518: $BUY_ASSET_PICKUPS[31] = create_available_asset_pickup 'PROP_4' at $X_Property_To_Buy[31] $Y_Property_To_Buy[31] $Z_Property_To_Buy[31] price $1684
    end

    //END: PROPERTY'S PRICES

    //START: ASSET'S PRICES

    //Asset 01 - Wang Cars
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "AssetPrice" key "ASSET01"
    then    0@ = -1
    end
    if or
       0@ < 1
       0@ > 50000
    then    0@ = -1
    end
    if  not 0@ == -1
    then
       if  87D6:   not 0@ == $1937
       then
           008A: $1937 = 0@
           if  09D1:   pickup $1938 created
           then
               0215: destroy_pickup $1938
               04A6: $1938 = create_asset_money_pickup_at -1969.463 289.5335 34.6719 money $1937 $1937
           end
       end
    end

    //Asset 02 - Zero RC
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "AssetPrice" key "ASSET02"
    then    0@ = -1
    end
    if or
       0@ < 1
       0@ > 50000
    then    0@ = -1
    end
    if  not 0@ == -1
    then
       if  87D6:   not 0@ == $1907
       then
           008A: $1907 = 0@
           if  09D1:   pickup $1908 created
           then
               0215: destroy_pickup $1908
               04A6: $1908 = create_asset_money_pickup_at -2243.007 136.9601 34.8203 money $1907 $1907
           end
       end
    end

    //Asset 03 - Verdant Meadows Airstrip
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "AssetPrice" key "ASSET03"
    then    0@ = -1
    end
    if or
       0@ < 1
       0@ > 50000
    then    0@ = -1
    end
    if  not 0@ == -1
    then
       if  87D6:   not 0@ == $7511
       then
           008A: $7511 = 0@
           if  09D1:   pickup $7512 created
           then
               0215: destroy_pickup $7512
               04A6: $7512 = create_asset_money_pickup_at 420.5204 2532.687 16.0869 money $7511 $7511
           end
       end        
    end

    //Asset 04 - RS Haul/Trucking missions
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "AssetPrice" key "ASSET04"
    then    0@ = -1
    end
    if or
       0@ < 1
       0@ > 50000
    then    0@ = -1
    end
    if  not 0@ == -1
    then
       if  87D6:   not 0@ == $1934
       then
           008A: $1934 = 0@
           if  09D1:   pickup $1933 created
           then
               0215: destroy_pickup $1933
               04A6: $1933 = create_asset_money_pickup_at -82.2693 -1135.526 0.5847 money $1934 $1934
           end
       end    
    end

    //Asset 05 - Hunter Quarry/Quarry missions
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "AssetPrice" key "ASSET05"
    then    0@ = -1
    end
    if or
       0@ < 1
       0@ > 50000
    then    0@ = -1
    end
    if  not 0@ == -1
    then
       if  87D6:   not 0@ == $1932
       then
           008A: $1932 = 0@
           if  09D1:   pickup $1931 created
           then
               0215: destroy_pickup $1931
               04A6: $1931 = create_asset_money_pickup_at 818.2578 853.8873 10.8059 money $1932 $1932
           end
       end
    end

    //Asset 06 - Las Venturas' Burger Shot/Las Venturas courier mission
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "AssetPrice" key "ASSET06"
    then    0@ = -1
    end
    if or
       0@ < 1
       0@ > 50000
    then    0@ = -1
    end
    if  not 0@ == -1
    then
       if  87D6:   not 0@ == $1999
       then
           008A: $1999 = 0@
           if  09D1:   pickup $2000 created
           then
               0215: destroy_pickup $2000
               04A6: $2000 = create_asset_money_pickup_at 1887.997 2073.008 10.5547 money $1999 $1999
           end
       end
    end

    //Asset 07 - Roboi's Food Mart/Los Santos courier mission
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "AssetPrice" key "ASSET07"
    then    0@ = -1
    end
    if or
       0@ < 1
       0@ > 50000
    then    0@ = -1
    end
    if  not 0@ == -1
    then
       if  87D6:   not 0@ == $1995
       then
           008A: $1995 = 0@
           if  09D1:   pickup $1996 created
           then
               0215: destroy_pickup $1996
               04A6: $1996 = create_asset_money_pickup_at 1345.859 -1757.432 13.0078 money $1995 $1995
           end
       end
    end

    //Asset 08 - Hippy Shopper/San Fierro courier mission
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "AssetPrice" key "ASSET08"
    then    0@ = -1
    end
    if or
       0@ < 1
       0@ > 50000
    then    0@ = -1
    end
    if  not 0@ == -1
    then
       if  87D6:   not 0@ == $1997
       then
           008A: $1997 = 0@
           if  09D1:   pickup $1998 created
           then
               0215: destroy_pickup $1998
               04A6: $1998 = create_asset_money_pickup_at -2593.882 59.2467 3.8359 money $1997 $1997
           end
       end
    end
    /*    
    //Asset 09 - The Johnson House
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "AssetPrice" key "ASSET09"
    then    0@ = -1
    end
    if or
       0@ < 1
       0@ > 50000
    then
       0@ = -1
       3@ = 1
    else    1@ = 0@
    end
       
    //Asset 10 - Vank Hoff Hotel/Valet Parking Missions
    if  8AF0: 0@ = get_int_from_ini_file "cleo\PropertiesPrice.ini" section "AssetPrice" key "ASSET10"
    then    0@ = -1
    end
    if or
       0@ < 1
       0@ > 50000
    then    
       0@ = -1
       4@ = 1
    else    2@ = 0@
    end

    while true
           
       if and
           3@ == 1
           4@ == 1
       then    break
       end

       //Asset 09 - The Johnson House
       if and
           09D1:   pickup $GS_Gang_Money_Pickup created
           2@ == 0
       then    
           0215: destroy_pickup $GS_Gang_Money_Pickup
           04A6: $GS_Gang_Money_Pickup = create_asset_money_pickup_at 2502.1 -1686.38 13.0 money 1@ $GS_Gang_Cash
           3@ = 1
       end

       //Asset 10 - Vank Hoff Hotel/Valet Parking Missions
       if and
           09D1:   pickup $5271 created
           3@ == 0
       then    
           0215: destroy_pickup $5271    
           04A6: $5271 = create_asset_money_pickup_at -1757.668 961.7819 24.3828 money 2@ 2@
           4@ = 1        
       end
           
       wait 2000
    end
    */

    //END: ASSET'S PRICES

    0A93: end_custom_thread

    P.S.: peço para os quem sabem mais de codificação cleo que me auxiliem em três coisas:
    1) Verificar se a maneira que eles são sendo usados está correta, lembrando que as variáveis globais são somente as que envolvem valores e pickups relacionados às propriedades;
    2) Como deixar isso mais automático, pois acabo repitindo o método para cada propriedade, queria fazer isso de uma maneira mais simplificada;
    3) Os negócios/assets (pickups de $ que geram dinheiro para o CJ) da grove street e o que você consegue na missão de Valet possume alguns problemas pois seus valores não são interamente gerados por variáveis globais. Quem souber como ajudar a resolver isso, também agradeço.


    Qualquer coisa, pergunte nesse tópico.


    Última edição por Deadstroke em Sab 23 Abr 2016, 20:26, editado 3 vez(es)

    DouglasB2310
    Mensagens Nível 3
    Mensagens Nível 3

    Plataforma : PC
    Processador: Intel(R) Core(TM) i5-2430M 2.40GHz
    Placa de vídeo onboard: Intel HD Graphics 3000
    RAM: 8GB (Já instalei o Windows 32 Bits e só usei 4 GB de RAM sem saber de nada)
    SSD: Não sei qual marca é, 465 GiB.
    SO: Windows 7 Ultimate - 64 Bits
    Mensagens : 179
    Reputação : 8
    Localização : Rio Grande do Sul

    Re: Properties Price

    Mensagem por DouglasB2310 em Sab 16 Abr 2016, 22:26

    Você sabe que os preços do GTA San Andreas é em dólar, né?
    Isso significa que aquela casa de Vinewood custa R$ 423.396,00
    Enfim, ainda é barato para uma casa em um lugar caro, deveria custar uns 2 milhões no jogo.

    Cereal Guy
    Mensagens Nível 6
    Mensagens Nível 6

    Plataforma : PC/PS2
    Mensagens : 1451
    Reputação : 19
    Idade : 14
    Localização : Manaus - Amazonas

    Re: Properties Price

    Mensagem por Cereal Guy em Qui 21 Abr 2016, 15:58

    Morreu?

    Cláudio Velocidade
    Mensagens Nível 5
    Mensagens Nível 5

    Plataforma : Personal Computer
    Mensagens : 560
    Reputação : 4
    Idade : 15
    Localização : Na puta que pariu

    Re: Properties Price

    Mensagem por Cláudio Velocidade em Qui 21 Abr 2016, 16:03

    Deadstroke deve estar curtindo o feriado.

    Deadstroke
    Scripter CLEO - Intermediário
    Scripter CLEO - Intermediário

    Plataforma : PC
    Fabricante: Acer
    Processador: Intel(R) Core(TM) i3-2338M CPU 2.20 GHz
    Memória RAM: 4 GB
    Sistema: x64, windows 10
    Placa de Vídeo: Intel Graphics 3000
    Mensagens : 316
    Reputação : 20
    Localização : São Paulo

    Re: Properties Price

    Mensagem por Deadstroke em Qui 21 Abr 2016, 19:44

    @Cereal Guy escreveu:Morreu?

    Duwd escreveu:Deadstroke deve estar curtindo o feriado.

    Hahahahaa

    Calminha ae gente, só que o tempo aqui tá curto mesmo.... Tentei fazer uma versão inicial mas não deu muito certo. Tentarei de novo em breve...

    Deadstroke
    Scripter CLEO - Intermediário
    Scripter CLEO - Intermediário

    Plataforma : PC
    Fabricante: Acer
    Processador: Intel(R) Core(TM) i3-2338M CPU 2.20 GHz
    Memória RAM: 4 GB
    Sistema: x64, windows 10
    Placa de Vídeo: Intel Graphics 3000
    Mensagens : 316
    Reputação : 20
    Localização : São Paulo

    Re: Properties Price

    Mensagem por Deadstroke em Sab 23 Abr 2016, 20:24

    Versão 0.1 (ULTRAMENTE BETA!!!!)
    - Edição de compra de propriedades 100% possível sem nenhum tipo de conflito.
    - Edição de valores máximos e taxa de ganho dos assets (pickups de cifrão) 80% editáveis (podendo editá-los de uma vez com um único valor), com excessão da Grove Street e da missão de Valet, que ainda se encontrará soluções.
    - Se quiser testar, use um novo jogo. Pode usar save, mas ainda não sugiro que salve (apesar de acreditar que não vai gerar problemas até então).

    Relembrar o que coloquei no fim do post principal:

    P.S.: peço para os quem sabem mais de codificação cleo que me auxiliem em três coisas:
    1) Verificar se a maneira que eles são sendo usados está correta, lembrando que as variáveis globais são somente as que envolvem valores e pickups relacionados às propriedades;
    2) Como deixar isso mais automático, pois acabo repitindo o método para cada propriedade, queria fazer isso de uma maneira mais simplificada;
    3) Os negócios/assets (pickups de $ que geram dinheiro para o CJ) da grove street e o que você consegue na missão de Valet possume alguns problemas pois seus valores não são interamente gerados por variáveis globais. Quem souber como ajudar a resolver isso, também agradeço.

    Qualquer coisa, pergunte nesse tópico.

    Conteúdo patrocinado

    Re: Properties Price

    Mensagem por Conteúdo patrocinado Hoje à(s) 15:16


      Data/hora atual: Ter 24 Jan 2017, 15:16