Jump to content

GTA VICE CITY Problem


aee

Recommended Posts

i made a code that lets u buy John Houses near Hoter Harison but for some reason i cant see the pickup its like i dint make anything pls help

if someone can make a tutorial on how to make houses buyable i will be very thankful.

here is the code that i made

 

//-------------Mission 97---------------:JOHHBUYthread 'JOHHBUY' $ONMISSION = 1 // integer values wait 0 Marker.Disable($212)030C: set_mission_points += 1 0169: set_fade_color 0 0 1 fade 0 500 Player.CanMove($PLAYER_CHAR) = False03BF: set_player $PLAYER_CHAR ignored_by_everyone_to 1 03F4: set_all_vehicles_apply_damage_rules 0 :JOHHBUY_63if fading else_jump @JOHHBUY_136 wait 0 if   not Player.Defined($PLAYER_CHAR)else_jump @JOHHBUY_129 0570: $212 = create_asset_radar_marker_with_icon 19 at $35 $36 $37 018B: show_on_radar $212 2 create_thread @SAVE2 end_thread :JOHHBUY_129jump @JOHHBUY_63 :JOHHBUY_1360570: $212 = create_asset_radar_marker_with_icon 19 at $35 $36 $37 018B: show_on_radar $212 2 create_thread @SAVE2 0395: clear_area 1 at 160.4133 -736.7391 range 10.4633 1.0 0055: put_player $PLAYER_CHAR at 160.4133 -736.7391 10.4633 0171: set_player $PLAYER_CHAR z_angle_to 276.3156 02A3: toggle_widescreen 1 0169: set_fade_color 0 0 1 fade 1 500 Camera.SetPosition(241.4097, 420.0691, 10.388, 0.0, 0.0, 0.0)Camera.PointAt(242.141, 419.4232, 10.6071, 2):JOHHBUY_291if fading else_jump @JOHHBUY_333 wait 0 if   not Player.Defined($PLAYER_CHAR)else_jump @JOHHBUY_326 end_thread :JOHHBUY_326jump @JOHHBUY_291 :JOHHBUY_333$4873 = 1 // integer values $4874 = 1 // integer values 01E3: text_1number_styled 'JOHHBUY' $197 5000 ms 6 0529: add $197 to_money_spent_on_property_stats 0542: add_property 10 to_property_own_stats 0394: play_music 1 043C: set_game_sounds_disable_on_fade 0 wait 2000 00BC: text_highpriority 'BUYSAVE' 3000 ms 1  // ~g~You can now save your game here when not on a mission.wait 3000 Camera.SetPosition(313.6496, 390.976, 14.5314, 0.0, 0.0, 0.0)Camera.PointAt(313.0024, 391.738, 14.5534, 2):JOHHBUY_458if fading else_jump @JOHHBUY_504 wait 0 if   not Player.Defined($PLAYER_CHAR)else_jump @JOHHBUY_497 043C: set_game_sounds_disable_on_fade 1 end_thread :JOHHBUY_497jump @JOHHBUY_458 :JOHHBUY_504Camera.SetBehindPlayerCamera.Restore_WithJumpCutPlayer.CanMove($PLAYER_CHAR) = True03BF: set_player $PLAYER_CHAR ignored_by_everyone_to 0 03F4: set_all_vehicles_apply_damage_rules 1 02A3: toggle_widescreen 0 0169: set_fade_color 0 0 1 fade 1 500 gosub @HELP_2932 043C: set_game_sounds_disable_on_fade 1 $ONMISSION = 0 // integer values mission_cleanup end_thread return

 

Link to comment
Share on other sites

spaceeinstein

What's your code for creating the pickup? There are lots of tutorials for this kind of stuff.

Link to comment
Share on other sites

i have another problem wen i try to compile it it gives me

A jump to zero offset found. help

i tryed ading the 0000 opcode but still nothing

i checked the code 5 times and i dint see any 0002: JUMP 0

Link to comment
Share on other sites

Try to change the head:

 

 

:JOHHBUYthread 'JOHHBUY':JOHHBUY_1...

 

Link to comment
Share on other sites

ok i made it but i have another problem wen i buy the building i still get the asset buy icon how can i destroy it and add the safe pickup after i buy the house

Edited by aee
Link to comment
Share on other sites

ok i made it but i have another problem wen i buy the building i still get the asset buy icon how can i destroy it and add the safe pickup after i buy the house

check if bought the house then destroy the asset icon and create a save pickup biggrin.gif

Link to comment
Share on other sites

can u make a code couse i cant make it biggrin.gif

can you show me your current code?

Link to comment
Share on other sites

ok i tryed ading a save pickup but it dint work here is my code

 

:BUY1@ = 10000 // integer values 2@ = 250.4471 // floating-point values 3@ = -1199.464 // floating-point values 4@ = 11.0712 // floating-point values 0518: 0@ = create_available_asset_pickup 'PROP_3' at 2@ 3@ 4@ price 1@ thread 'BUY' :BUY_73wait 250 if   Player.Defined($PLAYER_CHAR)jf @BUY_150 if  $ONMISSION == 0 // integer values jf @BUY_150 if   Player.Controllable($PLAYER_CHAR)jf @BUY_150 if   Pickup.Picked_up(0@)jf @BUY_150 start_mission 97 end_thread :BUY_150jump @BUY_73-------------------------------------------------------------------------------------------//-------------Mission 97---------------:BUYPROthread 'BUYPRO' $ONMISSION = 1 // integer values 0169: set_fade_color 0 0 1 fade 0 500 Player.CanMove($PLAYER_CHAR) = False03BF: set_player $PLAYER_CHAR ignored_by_everyone_to 1 03F4: set_all_vehicles_apply_damage_rules 0 :BUYPRO_50if fading else_jump @BUYPRO_92 wait 0 if   not Player.Defined($PLAYER_CHAR)else_jump @BUYPRO_85 end_thread :BUYPRO_85jump @BUYPRO_50 :BUYPRO_9202A3: toggle_widescreen 1 0169: set_fade_color 0 0 1 fade 1 500 Camera.SetPosition(263.143, -1226.953, 10.9015, 0.0, 0.0, 0.0)Camera.PointAt(263.143, -1226.953, 10.9015, 2):BUYPRO_162if fading else_jump @BUYPRO_204 wait 0 if   not Player.Defined($PLAYER_CHAR)else_jump @BUYPRO_197 end_thread :BUYPRO_197jump @BUYPRO_162 :BUYPRO_20400BA: text_styled 'BUYPRO' 5000 ms 2 0394: play_music 1 043C: set_game_sounds_disable_on_fade 0 wait 5000 0169: set_fade_color 0 0 1 fade 0 500 :BUYPRO_247if fading else_jump @BUYPRO_293 wait 0 if   not Player.Defined($PLAYER_CHAR)else_jump @BUYPRO_286 043C: set_game_sounds_disable_on_fade 1 end_thread :BUYPRO_286jump @BUYPRO_247 :BUYPRO_293Camera.SetBehindPlayerCamera.Restore_WithJumpCutPlayer.CanMove($PLAYER_CHAR) = True03BF: set_player $PLAYER_CHAR ignored_by_everyone_to 0 03F4: set_all_vehicles_apply_damage_rules 1 02A3: toggle_widescreen 0 0169: set_fade_color 0 0 1 :BUYPRO_327fade 1 500 if fading else_jump @BUYPRO_358 wait 0 jump @BUYPRO_327 :BUYPRO_358if   Player.Defined($PLAYER_CHAR)else_jump @BUYPRO_379 011C: actor $PLAYER_ACTOR clear_objective :BUYPRO_379043C: set_game_sounds_disable_on_fade 1 $ONMISSION = 0 // integer values mission_cleanup end_thread return

 

 

 

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
  • 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.