Jump to content

cleo save point


indraCG

Recommended Posts

could anyone please compile this script? then post the link..i always got error when compile it by my self...

 

:SAVE_303A4: name_thread 'SAVE'0213: $SAVE_PICKUP = create_pickup #PICKUPSAVE type  3 at  51.151 190.572 9.359             0570: $SAVE_PICKUP_RDR = create_asset_radar_marker_with_icon  35 at  51.151 190.572 9.359       018B: show_on_radar $SAVE_PICKUP_RDR  2:SAVE_50001: wait  0 ms                              ;oops  thx random_download00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££SAVE_500D6: if  00214:   pickup $SAVE_PICKUP picked_up004D: jump_if_false ££SAVE_50050: gosub ££SAVE_500002: jump ££SAVE_3:SAVE_5001B4: set_player $PLAYER_CHAR frozen_state  0 (frozen)03D8: show_save_screen00A1: put_actor $PLAYER_ACTOR at  51.151 188.572 9.359       01B4: set_player $PLAYER_CHAR frozen_state  1 (unfrozen)0051: return

 

Link to comment
Share on other sites

Are you using Mission Builder or Sanny Builder? You can convert code from BW's Mission Builder with Tools » Code converter » MB -> SB.

 

Also, add {$CLEO} and 0000: to the top of your code and change #PICKUPSAVE to 1277. You should also change your globals to local vars to prevent undesired conflicts with the main.scm.

23088_s.gif

Link to comment
Share on other sites

 

{$CLEO}pickup.Create(0@, 1277, 3, 51.151, 190.572, 9.359)           0570: 1@ = create_asset_radar_marker_with_icon 35 at 51.151 190.572 9.359       018B: show_on_radar 1@  2while true   if       player.Defined(0)   then       if           pickup.Picked_up(0@)       then           03D8: show_save_screen           actor.PutAt($PLAYER_ACTOR, 51.151, 188.572, 9.359)       end   end   003D:end

 

d/l

Link to comment
Share on other sites

 

{$CLEO}pickup.Create(0@, 1277, 3, 51.151, 190.572, 9.359)           0570: 1@ = create_asset_radar_marker_with_icon 35 at 51.151 190.572 9.359       018B: show_on_radar 1@  2while true   if       player.Defined(0)   then       if           pickup.Picked_up(0@)       then           03D8: show_save_screen           actor.PutAt($PLAYER_ACTOR, 51.151, 188.572, 9.359)       end   end   003D:end

 

d/l

thanks its work...but the dics icon gone after i save the game...how can i fix it?

Link to comment
Share on other sites

Beacuse

 

3  item pickup, does not respawn.

 

 

{$CLEO}pickup.Create(0@, 1277, 3, 51.151, 190.572, 9.359)          0570: 1@ = create_asset_radar_marker_with_icon 35 at 51.151 190.572 9.359      018B: show_on_radar 1@  2while true  if      player.Defined(0)  then      if          pickup.Picked_up(0@)      then          03D8: show_save_screen          actor.PutAt($PLAYER_ACTOR, 51.151, 188.572, 9.359)          pickup.Destroy(0@)          pickup.Create(0@, 1277, 3, 51.151, 190.572, 9.359)               end  end  003D:end

 

 

I think this works.

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.