Trank Posted September 19, 2011 Share Posted September 19, 2011 This is a San Andreas mod by "Seemann". It works as follows: When you enter a vehicle, you can type "AUTO" to start the auto-pilot. Pressing DS or DF will enable the auto, and it will drive (just like a pedestrian vehicle) towards your map marker. Pressing DAS/DAF will allow you to drive as a normal pedestrian. To completely deactivate auto, get out of the vehicle. I play SA-MP. When you want to chat to someone, you have to press T to bring up the chat box. IT IS THEREFORE NOT POSSIBLE TO ENABLE THE AUTO PILOT (I have to type auTo).... Could you perhaps help me change the mod so that you have to type "LLLL" in stead of "AUTO" to enable the auto pilot? I am quoting the .cs file. PS, although this original script gives an error when compiling it with Sanny [Not enough actual parameters. Expected 8 params.], it still works. And PS, I don't know anything about scripting.... So I would really appreciate it if you could do the changes for me... // This file was decompiled using sascm.ini published by Seemann ( http://sannybuilder....files/SASCM.rar) on 13.10.2007 {$VERSION 3.1.0027} {$CLEO .cs} //-------------MAIN--------------- thread 'BOT_DRIVER' :BOT_DRIVER_19 wait 0 if and Player.Defined($PLAYER_CHAR) Actor.Driving($PLAYER_ACTOR) hex DC 0A 0E 04 41 55 54 4F end else_jump @BOT_DRIVER_19 03C0: 3@ = actor $PLAYER_ACTOR car 4@ = 100.0 hex CE 0A 0E 31 41 75 74 6F 44 72 69 76 65 72 20 4F 4E 20 74 79 70 65 20 44 53 20 6F 72 20 44 46 20 6F 72 20 44 41 53 20 6F 72 20 44 41 46 20 6F 72 20 41 55 54 end create_thread @BOT_DRIVER_704642048 hex 04 01 end Player.Defined($PLAYER_CHAR) Actor.InCar($PLAYER_ACTOR, 3@) else_jump @BOT_DRIVER_950 wait 0 if hex DC 0A 0E 04 41 55 54 4F end else_jump @BOT_DRIVER_182 jump @BOT_DRIVER_950 :BOT_DRIVER_182 wait 0 if 00E1: player 0 pressed_key 14 else_jump @BOT_DRIVER_267 046C: 5@ = car 3@ driver wait 0 if 07D6: 5@ == $PLAYER_ACTOR // integer vars else_jump @BOT_DRIVER_267 4@ -= 10.0 Car.SetMaxSpeed(3@, 4@) hex CE 0A 0E 0A 53 70 65 65 64 20 64 6F 77 6E end 0100: actor in_car hex 04 00 end if 00E1: player 0 pressed_key 16 else_jump @BOT_DRIVER_350 046C: 5@ = car 3@ driver wait 0 if 07D6: 5@ == $PLAYER_ACTOR // integer vars else_jump @BOT_DRIVER_350 4@ += 10.0 Car.SetMaxSpeed(3@, 4@) hex CE 0A 0E 08 53 70 65 65 64 20 75 70 end 0100: actor in_car hex 04 00 end if hex DC 0A 0E 02 44 53 end else_jump @BOT_DRIVER_491 046C: 5@ = car 3@ driver wait 0 if 07D6: 5@ == $PLAYER_ACTOR // integer vars else_jump @BOT_DRIVER_491 hex CE 0A 0E 16 44 72 69 76 69 6E 67 20 74 6F 20 74 61 72 67 65 74 20 73 6C 6F 77 00 B6 0A 03 00 00 end 0103: actor stopped_in_car 0203: actor on_foot 04D3: get_nearest_car_path_coords_from 0@ 1@ 2@ type 2 store_to 0@ 1@ 2@ 00AE: set_car 3@ traffic_behaviour_to 4 Car.DriveTo(3@, 0@, 1@, 2@) Car.SetMaxSpeed(3@, 4@) :BOT_DRIVER_491 wait 0 if 00E1: player 0 pressed_key 6 else_jump @BOT_DRIVER_573 046C: 5@ = car 3@ driver wait 0 if 07D6: 5@ == $PLAYER_ACTOR // integer vars else_jump @BOT_DRIVER_573 4@ = 0.0 Car.SetMaxSpeed(3@, 4@) hex CE 0A 0E 07 53 74 6F 70 70 65 end 0064: -704642048 -= // (int) hex 04 00 DC 0A 0E 02 44 46 end else_jump @BOT_DRIVER_714 046C: 5@ = car 3@ driver wait 0 if 07D6: 5@ == $PLAYER_ACTOR // integer vars else_jump @BOT_DRIVER_714 00AE: set_car 3@ traffic_behaviour_to 2 0AB6: store_target_marker_coords_to 0@ 1@ 2@ // IF and SET 04D3: get_nearest_car_path_coords_from 0@ 1@ 2@ type 2 store_to 0@ 1@ 2@ Car.SetMaxSpeed(3@, 4@) Car.DriveTo(3@, 0@, 1@, 2@) hex CE 0A 0E 16 44 72 69 76 69 6E 67 20 74 6F 20 74 61 72 67 65 74 20 66 61 73 74 end 0100: actor in_car hex 04 00 end if hex DC 0A 0E 03 44 41 53 4D 00 01 C3 FC FF FF end 046C: 5@ = car 3@ driver wait 0 if 07D6: 5@ == $PLAYER_ACTOR // integer vars else_jump @BOT_DRIVER_829 Car.SetToNormalDriver(3@) Car.SetDriverBehaviour(3@, FollowRoad) 00AE: set_car 3@ traffic_behaviour_to 4 Car.SetMaxSpeed(3@, 4@) hex CE 0A 0E 1E 44 72 69 76 69 6E 67 20 61 72 6F 75 6E 64 20 66 72 65 65 6C 79 20 6E 6F 72 6D 61 6C 6C 79 end 0100: actor in_car hex 04 00 end if hex DC 0A 0E 03 44 41 46 4D 00 01 84 FF FF FF end 046C: 5@ = car 3@ driver wait 0 if 07D6: 5@ == $PLAYER_ACTOR // integer vars else_jump @BOT_DRIVER_124 Car.SetToPsychoDriver(3@) Car.SetDriverBehaviour(3@, FollowRoad) 00AE: set_car 3@ traffic_behaviour_to 2 Car.SetMaxSpeed(3@, 4@) hex CE 0A 0E 1D 44 72 69 76 69 6E 67 20 61 72 6F 75 6E 64 20 66 72 65 65 6C 79 20 63 72 61 7A 79 6C 00 01 84 FF FF FF end :BOT_DRIVER_950 hex CE 0A 0E 0E 41 75 74 6F 44 72 69 76 65 72 20 4F 46 46 00 AD 00 03 end Camera.Shake(0.0) Car.RemoveReferences(3@) jump @BOT_DRIVER_19 Link to comment Share on other sites More sharing options...
MrGrandTheftAuto Posted September 19, 2011 Share Posted September 19, 2011 I hate this mod Link to comment Share on other sites More sharing options...
TUN3R Posted September 19, 2011 Share Posted September 19, 2011 So do it. Useless in single player, and FYI: it will most likely get you banned in SA-MP. Link to comment Share on other sites More sharing options...
MrGrandTheftAuto Posted September 19, 2011 Share Posted September 19, 2011 Tuners right. And it is fucking pointless Link to comment Share on other sites More sharing options...
Red_Squirrel_UK Posted September 19, 2011 Share Posted September 19, 2011 I dunno It would be good for single player, put the plane on auto piliot whilst i skin one up Link to comment Share on other sites More sharing options...
Trank Posted September 20, 2011 Author Share Posted September 20, 2011 LOL, it would probably get me banned... But for singleplayer then, anyway... Do you think you will be able to change it?? PS. thanks for your replies Link to comment Share on other sites More sharing options...
amazingdude Posted September 24, 2011 Share Posted September 24, 2011 Lol i had this mod i loved it when it auto drove my cars and it flipped it over innocent pedestrians lol Link to comment Share on other sites More sharing options...
MrGrandTheftAuto Posted September 24, 2011 Share Posted September 24, 2011 Lol i had this mod i loved it when it auto drove my cars and it flipped it over innocent pedestrians lol Link to comment Share on other sites More sharing options...
TUN3R Posted September 24, 2011 Share Posted September 24, 2011 Ignore MrGTA he hasn't yet adapted to planet Earth's way of life. I tried the mod too, still kinda pointless but I did have few nice accidents lol. Link to comment Share on other sites More sharing options...
MrGrandTheftAuto Posted September 24, 2011 Share Posted September 24, 2011 Oh commoooon! The mod is shit! Its pointless. Unless you're drunk... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now