Jump to content

A simple question


Recommended Posts

Okay so here i am in SA coding, all is fine until i need to remove the checkpoint i created off the radar tounge.gif

 

i can do this in VC and III but there is no disable_checkpoint command in SA, so theres a different way around it smile.gif ive used disable_marker to remove my marker above my car but i just need to remove the checkpoint.

 

Heres the code (just incase):

 

 

:smokeyif8117:   not player $PLAYER_CHAR definedelse_jump @smokey1wait 0jump @smokey:smokey1if8AB0: not key_pressed 0x31else_jump @smokey2wait 0jump @smokey1:smokey204C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset -1.0 6.0 0.0 wait 0jump @smokey3:smokey30247:   load_model #BUFFALOjump @smokey4:smokey4if8248:  not model #BUFFALO availableelse_jump @smokey5wait 0jump @smokey4:smokey500A5: $buffalo = create_car #BUFFALO at 1@ 2@ 3@wait 00161: $buffalo1 = create_marker_above_car $buffalo unknown 0 radar_mode 10165: set_marker $buffalo1 color_to 1018A: $buffalo2 = create_checkpoint_at 1@ 2@ 3@jump @smokey6:smokey6if80DB:  not actor $PLAYER_ACTOR in_car $buffaloelse_jump @smokey7wait 0jump @smokey6:smokey7 01C3: remove_references_to_car $buffalo // Like turning a car into any random car0164: disable_marker $buffalo1jump @smokey1  

 

Link to comment
https://gtaforums.com/topic/470425-a-simple-question/
Share on other sites

 

06D6: disable_racing_checkpoint 449@

 

dontgetit.gif

Thanks but I already tried that before posting and I've fixed it now by changing the radar mode to 3

The opcode name is misleading. It is not a checkpoint, but a destination marker.

 

http://gtag.gtagaming.com/opcode-database?opcode=018A

 

Changing the radar mode can at best only hide it. You need to use 0164 to remove it completely.

Link to comment
https://gtaforums.com/topic/470425-a-simple-question/#findComment-1060352236
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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

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