Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

HOW TO CREATE PROPERTIES


FANGTA
 Share

Recommended Posts

Hi.

Somebody know how to create properties with pickups and vehicles which unlocks when you buy a propertie.

 

Link to comment
Share on other sites

Knowledge Novice

See if this helps. Take a look at the 6th post down I think.

 

Click here: >SA SCM Buying Things<

 

It shows how to replace an existing buyable_asset but it should give you an idea of what the process involves. Hope this helps. Later. rampage_ani.gif

Link to comment
Share on other sites

I have this problem when i create new properties i coding all and i must change this op code:

:BUYPRO1_1

Its original san andreas BUYPRO1_1

 

:BUYPRO1_103A4: name_thread 'BUYPRO1' 0004: $ON_MISSION =  1;; integer values0001: wait  0 ms0006: @34 =  0;; integer values0169: set_fade_color  0  0  1 01B4: set_player $PLAYER_CHAR frozen_state  0 (frozen) 02A3: toggle_widescreen  1 (on) 0871: init_jump_table $1735 total_jumps  32  0 £BUYPRO1_325 jumps  0 £BUYPRO1_12  1 £BUYPRO1_21  2 £BUYPRO1_29  3 £BUYPRO1_46  4 £BUYPRO1_56  5 £BUYPRO1_66  6 £BUYPRO1_76 0872: jump_table_jumps  7 £BUYPRO1_86  8 £BUYPRO1_96  9 £BUYPRO1_106  10 £BUYPRO1_116  11 £BUYPRO1_126  12 £BUYPRO1_136  13 £BUYPRO1_146  14 £BUYPRO1_156  15 £BUYPRO1_166 0872: jump_table_jumps  16 £BUYPRO1_175  17 £BUYPRO1_185  18 £BUYPRO1_195  19 £BUYPRO1_204  20 £BUYPRO1_213  21 £BUYPRO1_222  22 £BUYPRO1_232  23 £BUYPRO1_241  24 £BUYPRO1_250 0872: jump_table_jumps  25 £BUYPRO1_259  26 £BUYPRO1_269  27 £BUYPRO1_278  28 £BUYPRO1_288  29 £BUYPRO1_298  30 £BUYPRO1_307  31 £BUYPRO1_316 -1 £BUYPRO1_325 -1 £BUYPRO1_325 

 

 

Its edited by me:

 

:BUYPRO1_103A4: name_thread 'BUYPRO1' 0004: $ON_MISSION =  1;; integer values0001: wait  0 ms0006: @34 =  0;; integer values0169: set_fade_color  0  0  1 01B4: set_player $PLAYER_CHAR frozen_state  0 (frozen) 02A3: toggle_widescreen  1 (on) 0871: init_jump_table $1735 total_jumps  33  0 £BUYPRO1_325 jumps  0 £BUYPRO1_12  1 £BUYPRO1_21  2 £BUYPRO1_29  3 £BUYPRO1_46  4 £BUYPRO1_56  5 £BUYPRO1_66  6 £BUYPRO1_76 0872: jump_table_jumps  7 £BUYPRO1_86  8 £BUYPRO1_96  9 £BUYPRO1_106  10 £BUYPRO1_116  11 £BUYPRO1_126  12 £BUYPRO1_136  13 £BUYPRO1_146  14 £BUYPRO1_156  15 £BUYPRO1_166 0872: jump_table_jumps  16 £BUYPRO1_175  17 £BUYPRO1_185  18 £BUYPRO1_195  19 £BUYPRO1_204  20 £BUYPRO1_213  21 £BUYPRO1_222  22 £BUYPRO1_232  23 £BUYPRO1_241  24 £BUYPRO1_250 0872: jump_table_jumps  25 £BUYPRO1_259  26 £BUYPRO1_269  27 £BUYPRO1_278  28 £BUYPRO1_288  29 £BUYPRO1_298  30 £BUYPRO1_307  31 £BUYPRO1_3160872: jump_table_jumps  32 £BUYPRO1_97 -1 £BUYPRO1_325 -1 £BUYPRO1_325

 

But when i compile i have this problem:

http://www.fotosik.pl/showFullSize.php?id=ba5f0d14534c67a4

 

I change the op code to this:

 

:BUYPRO1_103A4: name_thread 'BUYPRO1' 0004: $ON_MISSION =  1;; integer values0001: wait  0 ms0006: @34 =  0;; integer values0169: set_fade_color  0  0  1 01B4: set_player $PLAYER_CHAR frozen_state  0 (frozen) 02A3: toggle_widescreen  1 (on) 0871: init_jump_table $1735 total_jumps  33  0 £BUYPRO1_325 jumps  0 £BUYPRO1_12  1 £BUYPRO1_21  2 £BUYPRO1_29  3 £BUYPRO1_46  4 £BUYPRO1_56  5 £BUYPRO1_66  6 £BUYPRO1_76 0872: jump_table_jumps  7 £BUYPRO1_86  8 £BUYPRO1_96  9 £BUYPRO1_106  10 £BUYPRO1_116  11 £BUYPRO1_126  12 £BUYPRO1_136  13 £BUYPRO1_146  14 £BUYPRO1_156  15 £BUYPRO1_166 0872: jump_table_jumps  16 £BUYPRO1_175  17 £BUYPRO1_185  18 £BUYPRO1_195  19 £BUYPRO1_204  20 £BUYPRO1_213  21 £BUYPRO1_222  22 £BUYPRO1_232  23 £BUYPRO1_241  24 £BUYPRO1_250 0872: jump_table_jumps  25 £BUYPRO1_259  26 £BUYPRO1_269  27 £BUYPRO1_278  28 £BUYPRO1_288  29 £BUYPRO1_298  30 £BUYPRO1_307  31 £BUYPRO1_316 -1 £BUYPRO1_325 -1 £BUYPRO1_3250872: jump_table_jumps  32 £BUYPRO1_97

 

 

But when i compile i have this problem:

http://www.fotosik.pl/showFullSize.php?id=ecfb79967d0bf230

 

Sure i add the label :BUYPRO1_97 with all parameters down;)

Its this label:

 

:BUYPRO1_97015F: set_camera_position  2485.132 -1685.405 13.50913  0.0  0.0  0.0 0160: point_camera  2484.216 -1685.0649 13.72183  2 0623: increase_stat  15 by $FANGTA_PRICE ;; integer values0164: disable_marker $FANGTA_ICON 0570: $FANGTA_ICON = create_asset_radar_marker_with_icon  35 at $FANGTA_BUY_ASSET_PICKUP_X $FANGTA_BUY_ASSET_PICKUP_Y $FANGTA_BUY_ASSET_PICKUP_Z 018B: show_on_radar $FANGTA_ICON  2 09B4: $FANGTA_BUY_ASSET_PICKUP_X $FANGTA_BUY_ASSET_PICKUP_Y  10.0  16384  1  030C: set_mission_points +=  1 0002: jump £BUYPRO1_325  

 

In this label it not found a error.

Please help dontgetit.gif

Edited by FANGTA
Link to comment
Share on other sites

ok i make this and its compile:

 

:BUYPRO1_103A4: name_thread 'BUYPRO1' 0004: $ON_MISSION =  1 ;; integer values0001: wait  0 ms0006: @34 =  0 ;; integer values0169: set_fade_color  0  0  1 01B4: set_player $PLAYER_CHAR frozen_state  0 (frozen) 02A3: toggle_widescreen  1 (on) 0871: init_jump_table $1735 total_jumps  33  0 £BUYPRO1_325 jumps  0 £BUYPRO1_12  1 £BUYPRO1_21  2 £BUYPRO1_29  3 £BUYPRO1_46  4 £BUYPRO1_56  5 £BUYPRO1_66  6 £BUYPRO1_76 0872: jump_table_jumps  7 £BUYPRO1_86  8 £BUYPRO1_96  9 £BUYPRO1_106  10 £BUYPRO1_116  11 £BUYPRO1_126  12 £BUYPRO1_136  13 £BUYPRO1_146  14 £BUYPRO1_156  15 £BUYPRO1_166 0872: jump_table_jumps  16 £BUYPRO1_175  17 £BUYPRO1_185  18 £BUYPRO1_195  19 £BUYPRO1_204  20 £BUYPRO1_213  21 £BUYPRO1_222  22 £BUYPRO1_232  23 £BUYPRO1_241  24 £BUYPRO1_250 0872: jump_table_jumps  25 £BUYPRO1_259  26 £BUYPRO1_269  27 £BUYPRO1_278  28 £BUYPRO1_288  29 £BUYPRO1_298  30 £BUYPRO1_307  31 £BUYPRO1_316  32 £BUYPRO1_97 -1 £BUYPRO1_325

 

 

 

but i have next bug when i click new game and i seat to a bike and drive a meter its crash game and exit to windows.

 

please help

Edited by FANGTA
Link to comment
Share on other sites

hi.

 

i reduced all bugs but i dont know how to create weapon or cars pickups whos unlocks when the property is buy.

 

Please help.

Link to comment
Share on other sites

i have next problem.

Somebody know how to add threads to property code whos unlocks when property is bought??.

 

 

Link to comment
Share on other sites

  • 1 month later...

to add unlocks you need to place the line the bit is telling it what to do when the property is bought: EG.

 

If you wanted a weapon to spawn after you bought this house:

 

:BUYPRO1_166015F: set_camera_position  894.7908 -1663.996  20.202  0.0  0.0  0.0 0160: point_camera  894.803 -1663.002  20.0891  2 0623: increase_stat  15 by $1668;; integer values0164: disable_marker $1636 0570: $1636 = create_asset_radar_marker_with_icon  35 at $BUY_ASSET_PICKUP_X(15) $BUY_ASSET_PICKUP_Y(15) $BUY_ASSET_PICKUP_Z(15) 018B: show_on_radar $1636  2 09B4: $BUY_ASSET_PICKUP_X(15) $BUY_ASSET_PICKUP_Y(15)  10.0  16384  1 030C: set_mission_points +=  1 0002: jump £BUYPRO1_325

 

You would put it here somewhere (without the skipped lines)

 

 

:BUYPRO1_166015F: set_camera_position  894.7908 -1663.996  20.202  0.0  0.0  0.0 0160: point_camera  894.803 -1663.002  20.0891  2 0623: increase_stat  15 by $1668;; integer values0164: disable_marker $1636032B: $811 = create weapon pickup #M4  15 ammo  60 at  2021.879  1001.467  10.32030570: $1636 = create_asset_radar_marker_with_icon  35 at $BUY_ASSET_PICKUP_X(15) $BUY_ASSET_PICKUP_Y(15) $BUY_ASSET_PICKUP_Z(15) 018B: show_on_radar $1636  2 09B4: $BUY_ASSET_PICKUP_X(15) $BUY_ASSET_PICKUP_Y(15)  10.0  16384  1 030C: set_mission_points +=  1 0002: jump £BUYPRO1_325

 

 

same with starting a thread:

 

 

:BUYPRO1_166015F: set_camera_position  894.7908 -1663.996  20.202  0.0  0.0  0.0 0160: point_camera  894.803 -1663.002  20.0891  2 0623: increase_stat  15 by $1668;; integer values0164: disable_marker $1636004F: create_thread ££MYTHREAD0570: $1636 = create_asset_radar_marker_with_icon  35 at $BUY_ASSET_PICKUP_X(15) $BUY_ASSET_PICKUP_Y(15) $BUY_ASSET_PICKUP_Z(15) 018B: show_on_radar $1636  2 09B4: $BUY_ASSET_PICKUP_X(15) $BUY_ASSET_PICKUP_Y(15)  10.0  16384  1 030C: set_mission_points +=  1 0002: jump £BUYPRO1_325

 

Link to comment
Share on other sites

hmmm... thanks but this thread can have some mission(that i know) but when i add to this some thread(who be in the main section but not defined to start this)when i buy this its not showing(for example in thread be the some pickup who you pick you be die behind the ryder house but when i go to this its not be this pickup its be nothing - its only example;))

 

i can define thel ine with the thread??

and what i must correct to this work??

 

 

and thanks to your help

 

and maybe i can add some vehicles pickup to this code??

Edited by P.I.M.P_PL
Link to comment
Share on other sites

  • 3 months later...

Ok, so if i add this to the bottom of MAIN, eg, above mission 0, it will create a buyable asset on these coordinates?

So what about at money marker that spawns after you've bought it?

does any one know the code for that?

 

:BUYPRO1_166

015F: set_camera_position 894.7908 -1663.996 20.202 0.0 0.0 0.0

0160: point_camera 894.803 -1663.002 20.0891 2

0623: increase_stat 15 by $1668;; integer values

0164: disable_marker $1636

032B: $811 = create weapon pickup #M4 15 ammo 60 at 2021.879 1001.467 10.3203

0570: $1636 = create_asset_radar_marker_with_icon 35 at $BUY_ASSET_PICKUP_X(15) $BUY_ASSET_PICKUP_Y(15) $BUY_ASSET_PICKUP_Z(15)

018B: show_on_radar $1636 2

09B4: $BUY_ASSET_PICKUP_X(15) $BUY_ASSET_PICKUP_Y(15) 10.0 16384 1

030C: set_mission_points += 1

0002: jump £BUYPRO1_325

 

Then add the money marker after it?

Link to comment
Share on other sites

Ok, so if i add this to the bottom of MAIN, eg, above mission 0, it will create a buyable asset on these coordinates?

So what about at money marker that spawns after you've bought it?

does any one know the code for that?

 

:BUYPRO1_166

015F: set_camera_position 894.7908 -1663.996 20.202 0.0 0.0 0.0

0160: point_camera 894.803 -1663.002 20.0891 2

0623: increase_stat 15 by $1668;; integer values

0164: disable_marker $1636

032B: $811 = create weapon pickup #M4 15 ammo 60 at 2021.879 1001.467 10.3203

0570: $1636 = create_asset_radar_marker_with_icon 35 at $BUY_ASSET_PICKUP_X(15) $BUY_ASSET_PICKUP_Y(15) $BUY_ASSET_PICKUP_Z(15)

018B: show_on_radar $1636 2

09B4: $BUY_ASSET_PICKUP_X(15) $BUY_ASSET_PICKUP_Y(15) 10.0 16384 1

030C: set_mission_points += 1

0002: jump £BUYPRO1_325

 

Then add the money marker after it?

hmmm money marker you must search for it in some codes(search with word: money)

 

bye

Link to comment
Share on other sites

No No, i can make a money marker, but thats no fun, i was wanting to add a buyable asset in the game, like a TV shop or something, where i can come back and pick up its profits etc.

I was just trying to clarify the code, Im under the impression that the code i've just used is enough to make a buyable assest, but not enough to add a money pickup, which actually regeerates itself.

 

I was hoping that i could make a few things, like a arms shop which maybe worked for me?, hows about you buty ammo nation for 1million, and then it generates money back to you? this could be a good idea for a mod, what do you think?

Link to comment
Share on other sites

  • 4 months later...

Right sorry... but i dont get this one bit! Can someone like make a tutorial on this? I would be very greatfull and so would proberbly alot of others!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.