Compartilhe
avatar
Mensagens Nível 4
Mensagens Nível 4
Mensagens : 432
Reputação : 12
Desde : 12/01/2016
Localização : 127.0.0.1:25565
Ver perfil do usuário

Re: Safehouse Aleatória // [90%] [C/ Download]

em Ter 07 Fev 2017, 23:24
Ainda não terminei, falta coisa. Mas vou implementar.

______________________________
avatar
Mensagens Nível 4
Mensagens Nível 4
Mensagens : 432
Reputação : 12
Desde : 12/01/2016
Localização : 127.0.0.1:25565
Ver perfil do usuário

Re: Safehouse Aleatória // [90%] [C/ Download]

em Ter 28 Fev 2017, 20:33
A versão atual está ótima e estável, dá para manter no seu GTA e jogar SA-MP sem problemas.
Falta apenas algumas funções como um .ini configurável, só teleportar para as cidades que o CJ já desbloqueou, só teleportar para as casas compradas, etc. Recomendo para quem já finalizou o jogo ou tem save-game 100%.

______________________________
avatar
Scripter CLEO - Avançado
Scripter CLEO - Avançado
Título : Não quero acreditar, quero saber.
Mensagens : 21905
Reputação : 678
Desde : 03/05/2012
Idade : 22
Localização : Ibitinga - SP
Link : www.MixMods.com.br
Ver perfil do usuáriohttp://MixMods.com.br

Re: Safehouse Aleatória // [90%] [C/ Download]

em Qua 01 Mar 2017, 07:38
@DouglasB2310 escreveu:só teleportar para as cidades que o CJ já desbloqueou
Dá para fazer isso lendo o stat int de ID 181 (4 = tudo desboqueado)
@DouglasB2310 escreveu:só teleportar para as casas compradas
Tenho dúvida como isso poderia ser feito. Tem ideia já?

______________________________

avatar
Scripter CLEO - Intermediário
Scripter CLEO - Intermediário
Mensagens : 1948
Reputação : 26
Desde : 30/05/2013
Localização : Estância Velha - RS
Ver perfil do usuário

Re: Safehouse Aleatória // [90%] [C/ Download]

em Qui 02 Mar 2017, 20:30
@Junior_Djjr escreveu:Tenho dúvida como isso poderia ser feito. Tem ideia já?
A global var 728 até a 759 são flags pra indicar as propriedades adquiridas (32 propriedades), uma var para cada propriedade, oque é um desperdício :P
Só tem que descobrir agora qual var é para qual propriedade.
avatar
Scripter CLEO - Avançado
Scripter CLEO - Avançado
Título : Não quero acreditar, quero saber.
Mensagens : 21905
Reputação : 678
Desde : 03/05/2012
Idade : 22
Localização : Ibitinga - SP
Link : www.MixMods.com.br
Ver perfil do usuáriohttp://MixMods.com.br

Re: Safehouse Aleatória // [90%] [C/ Download]

em Sex 03 Mar 2017, 05:57
Aqui a parte do main.scm (no formato sanny builder) onde cria os pickups para comprar casas.
Código:
0517: $Buy_Asset_Pickups[0] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[0] $Y_Property_To_Buy[0] $Z_Property_To_Buy[0]  // You cannot buy this property yet.
0570: $Marker_Wang_Cars = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[0] $Y_Property_To_Buy[0] $Z_Property_To_Buy[0]
018B: set_marker $Marker_Wang_Cars radar_mode 2
0517: $Buy_Asset_Pickups[1] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[1] $Y_Property_To_Buy[1] $Z_Property_To_Buy[1]  // You cannot buy this property yet.
0570: $527 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[1] $Y_Property_To_Buy[1] $Z_Property_To_Buy[1]
018B: set_marker $527 radar_mode 2
0517: $Buy_Asset_Pickups[2] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[2] $Y_Property_To_Buy[2] $Z_Property_To_Buy[2]  // You cannot buy this property yet.
0570: $55 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[2] $Y_Property_To_Buy[2] $Z_Property_To_Buy[2]
018B: set_marker $55 radar_mode 2
09B4: set_object_property_at $X_Property_To_Buy[2] $Y_Property_To_Buy[2] radius 10.0 bitmask 16384 flag 0
$X_Property_To_Buy[3] = 316.0696
$Y_Property_To_Buy[3] = -1772.569
$Z_Property_To_Buy[3] = 4.1893
09B4: set_object_property_at $X_Property_To_Buy[3] $Y_Property_To_Buy[3] radius 10.0 bitmask 16384 flag 0
$1656 = 30000
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  // Press ~k~~PED_ANSWER_PHONE~ to buy this property.
0570: $1624 = create_asset_radar_marker_with_icon 31 at $X_Property_To_Buy[3] $Y_Property_To_Buy[3] $Z_Property_To_Buy[3]
018B: set_marker $1624 radar_mode 2
Garage.Deactivate('BEACSV')
$X_Property_To_Buy[4] = 2441.002
$Y_Property_To_Buy[4] = 695.1089
$Z_Property_To_Buy[4] = 10.6646
09B4: set_object_property_at $X_Property_To_Buy[4] $Y_Property_To_Buy[4] radius 10.0 bitmask 16384 flag 0
$1657 = 20000
0517: $Buy_Asset_Pickups[4] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[4] $Y_Property_To_Buy[4] $Z_Property_To_Buy[4]  // You cannot buy this property yet.
0570: $1625 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[4] $Y_Property_To_Buy[4] $Z_Property_To_Buy[4]
018B: set_marker $1625 radar_mode 2
Garage.Deactivate('VESVGRG')
$X_Property_To_Buy[5] = -366.1849
$Y_Property_To_Buy[5] = 1166.031
$Z_Property_To_Buy[5] = 19.2422
09B4: set_object_property_at $X_Property_To_Buy[5] $Y_Property_To_Buy[5] radius 10.0 bitmask 16384 flag 0
$1658 = 30000
0517: $Buy_Asset_Pickups[5] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[5] $Y_Property_To_Buy[5] $Z_Property_To_Buy[5]  // You cannot buy this property yet.
0570: $1626 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[5] $Y_Property_To_Buy[5] $Z_Property_To_Buy[5]
018B: set_marker $1626 radar_mode 2
Garage.Deactivate('CN2GAR1')
$X_Property_To_Buy[6] = 1283.844
$Y_Property_To_Buy[6] = 2528.703
$Z_Property_To_Buy[6] = 10.3203
09B4: set_object_property_at $X_Property_To_Buy[6] $Y_Property_To_Buy[6] radius 10.0 bitmask 16384 flag 0
$1659 = 50000
0517: $Buy_Asset_Pickups[6] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[6] $Y_Property_To_Buy[6] $Z_Property_To_Buy[6]  // You cannot buy this property yet.
0570: $1627 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[6] $Y_Property_To_Buy[6] $Z_Property_To_Buy[6]
018B: set_marker $1627 radar_mode 2
Garage.Deactivate('BLOB69')
$X_Property_To_Buy[7] = 922.3647
$Y_Property_To_Buy[7] = 2011.898
$Z_Property_To_Buy[7] = 10.766
09B4: set_object_property_at $X_Property_To_Buy[7] $Y_Property_To_Buy[7] radius 10.0 bitmask 16384 flag 0
$1660 = 30000
0517: $Buy_Asset_Pickups[7] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[7] $Y_Property_To_Buy[7] $Z_Property_To_Buy[7]  // You cannot buy this property yet.
0570: $1628 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[7] $Y_Property_To_Buy[7] $Z_Property_To_Buy[7]
018B: set_marker $1628 radar_mode 2
Garage.Deactivate('BLOB7')
$X_Property_To_Buy[8] = 2236.928
$Y_Property_To_Buy[8] = 162.8057
$Z_Property_To_Buy[8] = 26.8462
09B4: set_object_property_at $X_Property_To_Buy[8] $Y_Property_To_Buy[8] radius 10.0 bitmask 16384 flag 0
$1661 = 35000
0517: $Buy_Asset_Pickups[8] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[8] $Y_Property_To_Buy[8] $Z_Property_To_Buy[8]  // You cannot buy this property yet.
0570: $1629 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[8] $Y_Property_To_Buy[8] $Z_Property_To_Buy[8]
018B: set_marker $1629 radar_mode 2
Garage.Deactivate('BURBDOO')
$X_Property_To_Buy[9] = 1402.317
$Y_Property_To_Buy[9] = 1901.978
$Z_Property_To_Buy[9] = 10.8449
09B4: set_object_property_at $X_Property_To_Buy[9] $Y_Property_To_Buy[9] radius 10.0 bitmask 16384 flag 0
$1662 = 30000
0517: $Buy_Asset_Pickups[9] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[9] $Y_Property_To_Buy[9] $Z_Property_To_Buy[9]  // You cannot buy this property yet.
0570: $1630 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[9] $Y_Property_To_Buy[9] $Z_Property_To_Buy[9]
018B: set_marker $1630 radar_mode 2
Garage.Deactivate('BLOB6')
$X_Property_To_Buy[10] = 1687.98
$Y_Property_To_Buy[10] = -2100.643
$Z_Property_To_Buy[10] = 13.3343
$1663 = 10000
09B4: set_object_property_at $X_Property_To_Buy[10] $Y_Property_To_Buy[10] radius 10.0 bitmask 16384 flag 0
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  // Press ~k~~PED_ANSWER_PHONE~ to buy this property.
0570: $1631 = create_asset_radar_marker_with_icon 31 at $X_Property_To_Buy[10] $Y_Property_To_Buy[10] $Z_Property_To_Buy[10]
018B: set_marker $1631 radar_mode 2
Garage.Deactivate('CARLAS1')
$X_Property_To_Buy[11] = -2106.639
$Y_Property_To_Buy[11] = 900.5537
$Z_Property_To_Buy[11] = 76.2032
09B4: set_object_property_at $X_Property_To_Buy[11] $Y_Property_To_Buy[11] radius 10.0 bitmask 16384 flag 0
$1664 = 100000
0517: $Buy_Asset_Pickups[11] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[11] $Y_Property_To_Buy[11] $Z_Property_To_Buy[11]  // You cannot buy this property yet.
0570: $1632 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[11] $Y_Property_To_Buy[11] $Z_Property_To_Buy[11]
018B: set_marker $1632 radar_mode 2
Garage.Deactivate('CESAFE1')
$X_Property_To_Buy[12] = 1331.186
$Y_Property_To_Buy[12] = -630.4962
$Z_Property_To_Buy[12] = 108.6349
09B4: set_object_property_at $X_Property_To_Buy[12] $Y_Property_To_Buy[12] radius 10.0 bitmask 16384 flag 0
$1665 = 120000
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  // Press ~k~~PED_ANSWER_PHONE~ to buy this property.
0570: $1633 = create_asset_radar_marker_with_icon 31 at $X_Property_To_Buy[12] $Y_Property_To_Buy[12] $Z_Property_To_Buy[12]
018B: set_marker $1633 radar_mode 2
Garage.Deactivate('SAV1SFE')
$X_Property_To_Buy[13] = -2695.745
$Y_Property_To_Buy[13] = 818.4718
$Z_Property_To_Buy[13] = 49.4844
09B4: set_object_property_at $X_Property_To_Buy[13] $Y_Property_To_Buy[13] radius 10.0 bitmask 16384 flag 0
$1666 = 20000
0517: $Buy_Asset_Pickups[13] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[13] $Y_Property_To_Buy[13] $Z_Property_To_Buy[13]  // You cannot buy this property yet.
0570: $1634 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[13] $Y_Property_To_Buy[13] $Z_Property_To_Buy[13]
018B: set_marker $1634 radar_mode 2
Garage.Deactivate('SAV1SFW')
$X_Property_To_Buy[14] = -2456.926
$Y_Property_To_Buy[14] = -131.3292
$Z_Property_To_Buy[14] = 25.5376
09B4: set_object_property_at $X_Property_To_Buy[14] $Y_Property_To_Buy[14] radius 10.0 bitmask 16384 flag 0
$1667 = 40000
0517: $Buy_Asset_Pickups[14] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[14] $Y_Property_To_Buy[14] $Z_Property_To_Buy[14]  // You cannot buy this property yet.
0570: $1635 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[14] $Y_Property_To_Buy[14] $Z_Property_To_Buy[14]
018B: set_marker $1635 radar_mode 2
Garage.Deactivate('SVGSFS1')
$X_Property_To_Buy[15] = 892.6662
$Y_Property_To_Buy[15] = -1639.714
$Z_Property_To_Buy[15] = 14.4567
$1668 = 10000
09B4: set_object_property_at $X_Property_To_Buy[15] $Y_Property_To_Buy[15] radius 10.0 bitmask 16384 flag 0
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  // Press ~k~~PED_ANSWER_PHONE~ to buy this property.
0570: $1636 = create_asset_radar_marker_with_icon 31 at $X_Property_To_Buy[15] $Y_Property_To_Buy[15] $Z_Property_To_Buy[15]
018B: set_marker $1636 radar_mode 2
$X_Property_To_Buy[16] = 1969.932
$Y_Property_To_Buy[16] = 1623.243
$Z_Property_To_Buy[16] = 12.3619
$1669 = 6000
09B4: set_object_property_at $X_Property_To_Buy[16] $Y_Property_To_Buy[16] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[16] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[16] $Y_Property_To_Buy[16] $Z_Property_To_Buy[16]  // You cannot buy this property yet.
0570: $1637 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[16] $Y_Property_To_Buy[16] $Z_Property_To_Buy[16]
018B: set_marker $1637 radar_mode 2
$X_Property_To_Buy[17] = 2234.909
$Y_Property_To_Buy[17] = 1285.698
$Z_Property_To_Buy[17] = 10.3203
$1670 = 6000
09B4: set_object_property_at $X_Property_To_Buy[17] $Y_Property_To_Buy[17] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[17] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[17] $Y_Property_To_Buy[17] $Z_Property_To_Buy[17]  // You cannot buy this property yet.
0570: $1638 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[17] $Y_Property_To_Buy[17] $Z_Property_To_Buy[17]
018B: set_marker $1638 radar_mode 2
$X_Property_To_Buy[18] = -2213.864
$Y_Property_To_Buy[18] = 723.5587
$Z_Property_To_Buy[18] = 48.914
$1671 = 20000
09B4: set_object_property_at $X_Property_To_Buy[18] $Y_Property_To_Buy[18] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[18] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[18] $Y_Property_To_Buy[18] $Z_Property_To_Buy[18]  // You cannot buy this property yet.
0570: $1639 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[18] $Y_Property_To_Buy[18] $Z_Property_To_Buy[18]
018B: set_marker $1639 radar_mode 2
$X_Property_To_Buy[19] = -1439.014
$Y_Property_To_Buy[19] = -1540.59
$Z_Property_To_Buy[19] = 101.2579
$1672 = 100000
09B4: set_object_property_at $X_Property_To_Buy[19] $Y_Property_To_Buy[19] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[19] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[19] $Y_Property_To_Buy[19] $Z_Property_To_Buy[19]  // You cannot buy this property yet.
0570: $1640 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[19] $Y_Property_To_Buy[19] $Z_Property_To_Buy[19]
018B: set_marker $1640 radar_mode 2
$X_Property_To_Buy[20] = -2027.83
$Y_Property_To_Buy[20] = -44.0454
$Z_Property_To_Buy[20] = 38.7692
$1673 = 20000
09B4: set_object_property_at $X_Property_To_Buy[20] $Y_Property_To_Buy[20] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[20] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[20] $Y_Property_To_Buy[20] $Z_Property_To_Buy[20]  // You cannot buy this property yet.
0570: $1641 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[20] $Y_Property_To_Buy[20] $Z_Property_To_Buy[20]
018B: set_marker $1641 radar_mode 2
$X_Property_To_Buy[21] = -2419.677
$Y_Property_To_Buy[21] = 334.1621
$Z_Property_To_Buy[21] = 34.6796
$1674 = 50000
09B4: set_object_property_at $X_Property_To_Buy[21] $Y_Property_To_Buy[21] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[21] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[21] $Y_Property_To_Buy[21] $Z_Property_To_Buy[21]  // You cannot buy this property yet.
0570: $1642 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[21] $Y_Property_To_Buy[21] $Z_Property_To_Buy[21]
018B: set_marker $1642 radar_mode 2
$X_Property_To_Buy[22] = -2079.097
$Y_Property_To_Buy[22] = -2309.899
$Z_Property_To_Buy[22] = 30.1172
$1675 = 20000
09B4: set_object_property_at $X_Property_To_Buy[22] $Y_Property_To_Buy[22] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[22] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[22] $Y_Property_To_Buy[22] $Z_Property_To_Buy[22]  // You cannot buy this property yet.
0570: $1643 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[22] $Y_Property_To_Buy[22] $Z_Property_To_Buy[22]
018B: set_marker $1643 radar_mode 2
$X_Property_To_Buy[23] = -1534.17
$Y_Property_To_Buy[23] = 2650.3
$Z_Property_To_Buy[23] = 55.3437
$1676 = 20000
09B4: set_object_property_at $X_Property_To_Buy[23] $Y_Property_To_Buy[23] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[23] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[23] $Y_Property_To_Buy[23] $Z_Property_To_Buy[23]  // You cannot buy this property yet.
0570: $1644 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[23] $Y_Property_To_Buy[23] $Z_Property_To_Buy[23]
018B: set_marker $1644 radar_mode 2
$X_Property_To_Buy[24] = -1045.775
$Y_Property_To_Buy[24] = 1552.976
$Z_Property_To_Buy[24] = 32.798
$1677 = 20000
09B4: set_object_property_at $X_Property_To_Buy[24] $Y_Property_To_Buy[24] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[24] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[24] $Y_Property_To_Buy[24] $Z_Property_To_Buy[24]  // You cannot buy this property yet.
0570: $1645 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[24] $Y_Property_To_Buy[24] $Z_Property_To_Buy[24]
018B: set_marker $1645 radar_mode 2
$X_Property_To_Buy[25] = 793.5623
$Y_Property_To_Buy[25] = -514.4116
$Z_Property_To_Buy[25] = 16.3973
$1678 = 40000
09B4: set_object_property_at $X_Property_To_Buy[25] $Y_Property_To_Buy[25] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[25] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[25] $Y_Property_To_Buy[25] $Z_Property_To_Buy[25]  // You cannot buy this property yet.
0570: $1646 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[25] $Y_Property_To_Buy[25] $Z_Property_To_Buy[25]
018B: set_marker $1646 radar_mode 2
Garage.Deactivate('BURBDO2')
$X_Property_To_Buy[26] = 2103.346
$Y_Property_To_Buy[26] = -1288.339
$Z_Property_To_Buy[26] = 23.8168
$1679 = 10000
09B4: set_object_property_at $X_Property_To_Buy[26] $Y_Property_To_Buy[26] radius 10.0 bitmask 16384 flag 0
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  // Press ~k~~PED_ANSWER_PHONE~ to buy this property.
0570: $1647 = create_asset_radar_marker_with_icon 31 at $X_Property_To_Buy[26] $Y_Property_To_Buy[26] $Z_Property_To_Buy[26]
018B: set_marker $1647 radar_mode 2
$X_Property_To_Buy[27] = 2370.477
$Y_Property_To_Buy[27] = 2165.474
$Z_Property_To_Buy[27] = 10.3269
$1680 = 6000
09B4: set_object_property_at $X_Property_To_Buy[27] $Y_Property_To_Buy[27] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[27] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[27] $Y_Property_To_Buy[27] $Z_Property_To_Buy[27]  // You cannot buy this property yet.
0570: $1648 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[27] $Y_Property_To_Buy[27] $Z_Property_To_Buy[27]
018B: set_marker $1648 radar_mode 2
$X_Property_To_Buy[28] = 2220.626
$Y_Property_To_Buy[28] = 1837.348
$Z_Property_To_Buy[28] = 10.3203
$1681 = 6000
09B4: set_object_property_at $X_Property_To_Buy[28] $Y_Property_To_Buy[28] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[28] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[28] $Y_Property_To_Buy[28] $Z_Property_To_Buy[28]  // You cannot buy this property yet.
0570: $1649 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[28] $Y_Property_To_Buy[28] $Z_Property_To_Buy[28]
018B: set_marker $1649 radar_mode 2
$X_Property_To_Buy[29] = 2819.125
$Y_Property_To_Buy[29] = 2149.372
$Z_Property_To_Buy[29] = 10.3203
$1682 = 10000
09B4: set_object_property_at $X_Property_To_Buy[29] $Y_Property_To_Buy[29] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[29] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[29] $Y_Property_To_Buy[29] $Z_Property_To_Buy[29]  // You cannot buy this property yet.
0570: $1650 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[29] $Y_Property_To_Buy[29] $Z_Property_To_Buy[29]
018B: set_marker $1650 radar_mode 2
$X_Property_To_Buy[30] = 2483.024
$Y_Property_To_Buy[30] = -2001.074
$Z_Property_To_Buy[30] = 13.054
$1683 = 10000
09B4: set_object_property_at $X_Property_To_Buy[30] $Y_Property_To_Buy[30] radius 10.0 bitmask 16384 flag 0
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  // Press ~k~~PED_ANSWER_PHONE~ to buy this property.
0570: $1651 = create_asset_radar_marker_with_icon 31 at $X_Property_To_Buy[30] $Y_Property_To_Buy[30] $Z_Property_To_Buy[30]
018B: set_marker $1651 radar_mode 2
$X_Property_To_Buy[31] = 206.8
$Y_Property_To_Buy[31] = -112.1
$Z_Property_To_Buy[31] = 4.3965
$1684 = 10000
09B4: set_object_property_at $X_Property_To_Buy[31] $Y_Property_To_Buy[31] radius 10.0 bitmask 16384 flag 0
0517: $Buy_Asset_Pickups[31] = create_unavailable_asset_pickup 'PROP_4' at $X_Property_To_Buy[31] $Y_Property_To_Buy[31] $Z_Property_To_Buy[31]  // You cannot buy this property yet.
0570: $1652 = create_asset_radar_marker_with_icon 32 at $X_Property_To_Buy[31] $Y_Property_To_Buy[31] $Z_Property_To_Buy[31]
018B: set_marker $1652 radar_mode 2
$Save_Pickups_X[0] = 2495.53
$Save_Pickups_Y[0] = -1711.88
$Save_Pickups_Z[0] = 1014.24
$Save_Points_X[0] = 2495.9
$Save_Points_Y[0] = -1707.45
$Save_Points_Z[0] = 1013.26
$Save_Points_Angle[0] = 0.0
$847 = 0
$Save_Pickups_X[1] = 1263.05
$Save_Pickups_Y[1] = -773.67
$Save_Pickups_Z[1] = 1091.39
$Save_Points_X[1] = 1263.76
$Save_Points_Y[1] = -776.59
$Save_Points_Z[1] = 1090.89
$Save_Points_Angle[1] = 183.23
$848 = 0
$Save_Pickups_X[2] = 416.9548
$Save_Pickups_Y[2] = 2538.813
$Save_Pickups_Z[2] = 9.5077
$Save_Points_X[2] = 418.0759
$Save_Points_Y[2] = 2536.771
$Save_Points_Z[2] = 9.0077
$Save_Points_Angle[2] = 269.2893
$849 = 0
$Save_Pickups_X[3] = 2367.192
$Save_Pickups_Y[3] = -1121.518
$Save_Pickups_Z[3] = 1050.382
$Save_Points_X[3] = 2367.072
$Save_Points_Y[3] = -1123.715
$Save_Points_Z[3] = 1049.875
$Save_Points_Angle[3] = 183.259
$850 = 0
$Save_Pickups_X[4] = 2320.103
$Save_Pickups_Y[4] = -1009.116
$Save_Pickups_Z[4] = 1049.718
$Save_Points_X[4] = 2320.103
$Save_Points_Y[4] = -1013.375
$Save_Points_Z[4] = 1049.211
$Save_Points_Angle[4] = 181.7957
$851 = 0
$Save_Pickups_X[5] = 2342.873
$Save_Pickups_Y[5] = -1063.939
$Save_Pickups_Z[5] = 1048.523
$Save_Points_X[5] = 2339.254
$Save_Points_Y[5] = -1063.86
$Save_Points_Z[5] = 1048.023
$Save_Points_Angle[5] = 90.7733
$852 = 0
$Save_Pickups_X[6] = 2186.014
$Save_Pickups_Y[6] = -1203.834
$Save_Pickups_Z[6] = 1048.523
$Save_Points_X[6] = 2189.818
$Save_Points_Y[6] = -1203.83
$Save_Points_Z[6] = 1048.031
$Save_Points_Angle[6] = 268.6874
$853 = 0
$Save_Pickups_X[7] = 2313.369
$Save_Pickups_Y[7] = -1208.744
$Save_Pickups_Z[7] = 1048.523
$Save_Points_X[7] = 2310.853
$Save_Points_Y[7] = -1210.975
$Save_Points_Z[7] = 1048.023
$Save_Points_Angle[7] = 130.1776
$854 = 0
$Save_Pickups_X[8] = 2249.397
$Save_Pickups_Y[8] = -1209.449
$Save_Pickups_Z[8] = 1048.523
$Save_Points_X[8] = 2252.7
$Save_Points_Y[8] = -1209.388
$Save_Points_Z[8] = 1048.023
$Save_Points_Angle[8] = 270.3929
$855 = 0
$Save_Pickups_X[9] = 2244.533
$Save_Pickups_Y[9] = -1077.663
$Save_Pickups_Z[9] = 1048.523
$Save_Points_X[9] = 2241.069
$Save_Points_Y[9] = -1077.736
$Save_Points_Z[9] = 1048.031
$Save_Points_Angle[9] = 88.0268
$856 = 0
$Save_Pickups_X[10] = 2205.382
$Save_Pickups_Y[10] = -1074.59
$Save_Pickups_Z[10] = 1049.977
$Save_Points_X[10] = 2207.852
$Save_Points_Y[10] = -1075.324
$Save_Points_Z[10] = 1049.477
$Save_Points_Angle[10] = 261.7253
$857 = 0
$Save_Pickups_X[11] = 2233.024
$Save_Pickups_Y[11] = -1105.717
$Save_Pickups_Z[11] = 1050.39
$Save_Points_X[11] = 2233.231
$Save_Points_Y[11] = -1107.852
$Save_Points_Z[11] = 1049.89
$Save_Points_Angle[11] = 182.2496
$858 = 0
$Save_Pickups_X[12] = 2278.139
$Save_Pickups_Y[12] = -1139.583
$Save_Pickups_Z[12] = 1050.398
$Save_Points_X[12] = 2281.524
$Save_Points_Y[12] = -1139.37
$Save_Points_Z[12] = 1049.898
$Save_Points_Angle[12] = 273.5033
$859 = 0
$Save_Pickups_X[13] = -2037.89
$Save_Pickups_Y[13] = -2526.96
$Save_Pickups_Z[13] = 30.13
$Save_Points_X[13] = -2039.78
$Save_Points_Y[13] = -2529.1
$Save_Points_Z[13] = 29.63
$Save_Points_Angle[13] = 21.23
$860 = 0
$Save_Pickups_X[14] = 877.81
$Save_Pickups_Y[14] = -26.91
$Save_Pickups_Z[14] = 62.69
$Save_Points_X[14] = 877.04
$Save_Points_Y[14] = -30.16
$Save_Points_Z[14] = 62.19
$Save_Points_Angle[14] = 66.85
$861 = 0
$Save_Pickups_X[15] = -2026.481
$Save_Pickups_Y[15] = 156.8028
$Save_Pickups_Z[15] = 28.5391
$Save_Points_X[15] = -2021.036
$Save_Points_Y[15] = 156.0674
$Save_Points_Z[15] = 27.6521
$Save_Points_Angle[15] = 272.5815
$862 = 0
$Save_Pickups_X[16] = -693.3776
$Save_Pickups_Y[16] = 957.824
$Save_Pickups_Z[16] = 11.7829
$Save_Points_X[16] = -700.3663
$Save_Points_Y[16] = 966.0852
$Save_Points_Z[16] = 11.3575
$Save_Points_Angle[16] = 90.0
$863 = 0
$Save_Pickups_X[17] = 2024.564
$Save_Pickups_Y[17] = 996.4728
$Save_Pickups_Z[17] = 10.3203
$Save_Points_X[17] = 2027.043
$Save_Points_Y[17] = 996.0585
$Save_Points_Z[17] = 9.9203
$Save_Points_Angle[17] = 275.516
$864 = 0
$Save_Pickups[0] = Pickup.Create(#PICKUPSAVE, 3, $Save_Pickups_X[0], $Save_Pickups_Y[0], $Save_Pickups_Z[0])
$Save_Pickups[1] = Pickup.Create(#PICKUPSAVE, 3, $Save_Pickups_X[1], $Save_Pickups_Y[1], $Save_Pickups_Z[1])
$Save_Pickups[2] = Pickup.Create(#PICKUPSAVE, 3, $Save_Pickups_X[2], $Save_Pickups_Y[2], $Save_Pickups_Z[2])
$Save_Pickups[3] = Pickup.Create(#PICKUPSAVE, 3, $Save_Pickups_X[3], $Save_Pickups_Y[3], $Save_Pickups_Z[3])
$Save_Pickups[4] = Pickup.Create(#PICKUPSAVE, 3, $Save_Pickups_X[4], $Save_Pickups_Y[4], $Save_Pickups_Z[4])
$Save_Pickups[5] = Pickup.Create(#PICKUPSAVE, 3, $Save_Pickups_X[5], $Save_Pickups_Y[5], $Save_Pickups_Z[5])
$Save_Pickups[6] = Pickup.Create(#PICKUPSAVE, 3, $Save_Pickups_X[6], $Save_Pickups_Y[6], $Save_Pickups_Z[6])
$Save_Pickups[7] = Pickup.Create(#PICKUPSAVE, 3, $Save_Pickups_X[7], $Save_Pickups_Y[7], $Save_Pickups_Z[7])
$Save_Pickups[8] = Pickup.Create(#PICKUPSAVE, 3, $Save_Pickups_X[8], $Save_Pickups_Y[8], $Save_Pickups_Z[8])
$Save_Pickups[9] = Pickup.Create(#PICKUPSAVE, 3, $Save_Pickups_X[9], $Save_Pickups_Y[9], $Save_Pickups_Z[9])
$Save_Pickups[10] = Pickup.Create(#PICKUPSAVE, 3, $Save_Pickups_X[10], $Save_Pickups_Y[10], $Save_Pickups_Z[10])
$Save_Pickups[11] = Pickup.Create(#PICKUPSAVE, 3, $Save_Pickups_X[11], $Save_Pickups_Y[11], $Save_Pickups_Z[11])
$Save_Pickups[12] = Pickup.Create(#PICKUPSAVE, 3, $Save_Pickups_X[12], $Save_Pickups_Y[12], $Save_Pickups_Z[12])
A var global 728 é um array, e cada elemento do array é igual ao visto acima (vale para a mesma casa como no array acima)

Foda que GTA3script ainda não tem suporte para ler vars globais.

______________________________

avatar
Produtor de vídeos - Avançado
Produtor de vídeos - Avançado
Mensagens : 16017
Reputação : 156
Desde : 03/06/2012
Ver perfil do usuáriohttp://playgamemods.blogspot.com.br/

Re: Safehouse Aleatória // [90%] [C/ Download]

em Sex 03 Mar 2017, 09:23
cria um modes de vender casas :v

______________________________
http://playgamemods.blogspot.com.br/






"“Toda verdade passa por três estágios. Primeiro, ela é ridicularizada. Segundo, ela é violentamente resistida. Terceiro, ela é aceita como sendo autoevidente” (Arthur Schopenhauer, filósofo alemão [1788-1860])"

“Se pudesse ser demonstrada a existência de qualquer órgão complexo que não poderia ter sido formado por numerosas, sucessivas e ligeiras modificações, minha teoria desmoronaria por completo.” (DARWIN 1872)"
avatar
Mensagens Nível 4
Mensagens Nível 4
Mensagens : 432
Reputação : 12
Desde : 12/01/2016
Localização : 127.0.0.1:25565
Ver perfil do usuário

Re: Safehouse Aleatória // [90%] [C/ Download]

em Sex 10 Mar 2017, 13:50
OK.  A variável global 728 é um array (lista) com várias variáveis. Se for 0 é porque não comprou, se é 1 é porque comprou. Quando tiver suporte vai ser só colocar algo como:
Código:

IF $728[0] = TRUE
    // TELEPORTAR PARA TAL CASA
ENDIF
IF $728[1] = TRUE
    // TELEPORTAR PARA TAL CASA
ENDIF
(Dá até para fazer usar GOSUB para economizar linhas)
Se tem uma variável global para saber quantas casas o CJ comprou ou desbloqueou, tem uma para ver o progresso do jogo. Então o mod não irá carregar em NEW GAME, só em LOAD GAME. As cidades que o CJ visitou deve ser  mesma coisa: Ler uma variável global.


Ainda não publica na Mixmods. É um portal sobre GTA que eu gosto, sigo e desativei o LinkShrink por causa do site, mas não está pronto. megusta2
avatar
Produtor de vídeos - Avançado
Produtor de vídeos - Avançado
Mensagens : 16017
Reputação : 156
Desde : 03/06/2012
Ver perfil do usuáriohttp://playgamemods.blogspot.com.br/

Re: Safehouse Aleatória // [90%] [C/ Download]

em Sex 10 Mar 2017, 15:11
legal :)

______________________________
http://playgamemods.blogspot.com.br/






"“Toda verdade passa por três estágios. Primeiro, ela é ridicularizada. Segundo, ela é violentamente resistida. Terceiro, ela é aceita como sendo autoevidente” (Arthur Schopenhauer, filósofo alemão [1788-1860])"

“Se pudesse ser demonstrada a existência de qualquer órgão complexo que não poderia ter sido formado por numerosas, sucessivas e ligeiras modificações, minha teoria desmoronaria por completo.” (DARWIN 1872)"
avatar
Programador - Avançado
Programador - Avançado
Mensagens : 18915
Reputação : 346
Desde : 04/05/2012
Idade : 20
Link : gtamodvicio.blogspot.com
Ver perfil do usuáriohttp://gtamodvicio.blogspot.com

Re: Safehouse Aleatória // [90%] [C/ Download]

em Sex 10 Mar 2017, 20:08
@DouglasB2310 escreveu:OK.  A variável global 728 é um array (lista) com várias variáveis. Se for 0 é porque não comprou, se é 1 é porque comprou. Quando tiver suporte vai ser só colocar algo como:
Código:

IF $728[0] = TRUE
    // TELEPORTAR PARA TAL CASA
ENDIF
IF $728[1] = TRUE
    // TELEPORTAR PARA TAL CASA
ENDIF
(Dá até para fazer usar GOSUB para economizar linhas)
Se tem uma variável global para saber quantas casas o CJ comprou ou desbloqueou, tem uma para ver o progresso do jogo. Então o mod não irá carregar em NEW GAME, só em LOAD GAME. As cidades que o CJ visitou deve ser  mesma coisa: Ler uma variável global.

Se não me engano existe um array com as coordenadas das casas. philosoraptor philosoraptor philosoraptor

Opcode 0653, id de stat 0, é para ser a estatística do progresso do jogo.

______________________________

Modifico quase qualquer coisa.   :)
------------------>>>http://gtamodvicio.blogspot.com/<<<------------------

Meu PC:
Spoiler:

Configurações PC:
*Processador: Intel Core i7 4790K 4.00GHz LGA1150
*Placa Mãe: GIGABYTE GA-H97M-D3H Intel (LGA1150)
*HD: 1TB Seagate Barracuda 64MB Sata III 7200RPM (2x - RAID 0)
*HD²: SAMSUNG M3 Externo USB 5400RPM 1TB
*Placa de vídeo: Nvidia GTX660 2GB DDR5 192bit EVGA
*RAM: 8GB DDR3 1600MHZ Kingston HYPER X BEAST (2x4GB)
*Fonte: Corsair 600W Reais CX600M Modular - CP-9020060-WW (80 Plus Bronze)
*Gabinete: Gabinete Raidmax Super Hurricane Branco - 248WB
*Monitor: LG 23MP55HQ Full HD HDMI 23'
avatar
Mensagens Nível 4
Mensagens Nível 4
Mensagens : 432
Reputação : 12
Desde : 12/01/2016
Localização : 127.0.0.1:25565
Ver perfil do usuário

Re: Safehouse Aleatória // [90%] [C/ Download]

em Dom 23 Abr 2017, 20:21

______________________________
Conteúdo patrocinado

Re: Safehouse Aleatória // [90%] [C/ Download]

Permissão deste fórum:
Você não pode responder aos tópicos neste fórum