Pie015 Posted August 6, 2010 Share Posted August 6, 2010 Hi, Can you make your recruited gang members drive? Press a button and they will jack the closest car I'll handle their behaviour Link to comment Share on other sites More sharing options...
Pie015 Posted August 6, 2010 Author Share Posted August 6, 2010 Hi, Can you make your recruited gang members drive? Press a button and they will jack the closest car I'll handle their behaviour I only want one of my gang members to jack the car. Link to comment Share on other sites More sharing options...
BnB Posted August 6, 2010 Share Posted August 6, 2010 {$CLEO}0000: nop:NONAME_140001: wait 100 ms 07AF: $PLAYER_GROUP = player $PLAYER_CHAR group 092B: [email protected] = group $PLAYER_GROUP member 0 :1wait 0 ms0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to [email protected] closest_ped_to [email protected]: remove_references_to_actor [email protected] // Like turning an actor into a random pedestrian if and 0ab0: 32 //spacebar07FD: group $PLAYER_GROUP alive jf @NONAME_1405CB: AS_actor [email protected] enter_car [email protected] as_driver -1 ms if 056D: actor [email protected] defined jf @NONAME_14jump @1 Link to comment Share on other sites More sharing options...
Pie015 Posted August 6, 2010 Author Share Posted August 6, 2010 {$CLEO}0000: nop:NONAME_140001: wait 100 ms 07AF: $PLAYER_GROUP = player $PLAYER_CHAR group 092B: [email protected] = group $PLAYER_GROUP member 0 :1wait 0 ms0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to [email protected] closest_ped_to [email protected]: remove_references_to_actor [email protected] // Like turning an actor into a random pedestrian if and 0ab0: 32 //spacebar07FD: group $PLAYER_GROUP alive jf @NONAME_1405CB: AS_actor [email protected] enter_car [email protected] as_driver -1 ms if 056D: actor [email protected] defined jf @NONAME_14jump @1 You're the master of coding! Which key is it? Spacebar? Link to comment Share on other sites More sharing options...
Pie015 Posted August 6, 2010 Author Share Posted August 6, 2010 Yay it works but he doesen't drive, Is there anyway that when he enters the car he stops being my gang member? i tried this: 0000: nop:NONAME_140001: wait 100 ms07AF: $PLAYER_GROUP = player $PLAYER_CHAR group092B: [email protected] = group $PLAYER_GROUP member 0:1wait 0 ms0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to [email protected] closest_ped_to [email protected]: remove_references_to_actor [email protected] // Like turning an actor into a random pedestrian if and 0ab0: 32 //spacebar07FD: group $PLAYER_GROUP alivejf @NONAME_1405CB: AS_actor [email protected] enter_car [email protected] as_driver -1 msif 056D: actor [email protected] definedjf @NONAME_14jump @1:2if and Actor.Driving($PLAYER_ACTOR)803A: not $PLAYER_ACTOR == $CARNEARCJDRV // (int) jf @NONAME_1283 Car.SetToPsychoDriver($CARNEARCJ)Car.SetDriverBehaviour($CARNEARCJ, FollowRoad)00AE: set_car $CARNEARCJ traffic_behaviour_to 2 Car.SetMaxSpeed($CARNEARCJ, 25.0) Link to comment Share on other sites More sharing options...
BnB Posted August 6, 2010 Share Posted August 6, 2010 06C9: remove_actor $ACTOR_RYDER from_group Link to comment Share on other sites More sharing options...
Pie015 Posted August 7, 2010 Author Share Posted August 7, 2010 (edited) 06C9: remove_actor $ACTOR_RYDER from_group I tried everything i could think of, but none of them work he wont drive i have spaceeinstein's passenger mod Edited August 7, 2010 by Pie015 Link to comment Share on other sites More sharing options...
Pie015 Posted August 7, 2010 Author Share Posted August 7, 2010 any ideas? Link to comment Share on other sites More sharing options...
Matheus Reis Posted August 7, 2010 Share Posted August 7, 2010 Try to remove references of the actor [email protected] Link to comment Share on other sites More sharing options...
Pie015 Posted August 7, 2010 Author Share Posted August 7, 2010 OK I've done this but he STILL dosent drive {$VERSION 3.1.0027}{$CLEO .cs}0000: nop:NONAME_140001: wait 100 ms 07AF: $PLAYER_GROUP = player $PLAYER_CHAR group 092B: [email protected] = group $PLAYER_GROUP member 0 :1wait 0 ms0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to [email protected] closest_ped_to [email protected]: remove_references_to_actor [email protected] // Like turning an actor into a random pedestrian 06C9: remove_actor [email protected] from_group if and0AB0: 32 //spacebar07FD: group $PLAYER_GROUP alive jf @NONAME_1405CB: AS_actor [email protected] enter_car [email protected] as_driver -1 ms if 056D: actor [email protected] defined jf @NONAME_14jump @1 Link to comment Share on other sites More sharing options...
Pie015 Posted August 7, 2010 Author Share Posted August 7, 2010 OK I've done this but he STILL dosent drive {$VERSION 3.1.0027}{$CLEO .cs}0000: nop:NONAME_140001: wait 100 ms 07AF: $PLAYER_GROUP = player $PLAYER_CHAR group 092B: [email protected] = group $PLAYER_GROUP member 0 :1wait 0 ms0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to [email protected] closest_ped_to [email protected]: remove_references_to_actor [email protected] // Like turning an actor into a random pedestrian 06C9: remove_actor [email protected] from_group if and0AB0: 32 //spacebar07FD: group $PLAYER_GROUP alive jf @NONAME_1405CB: AS_actor [email protected] enter_car [email protected] as_driver -1 ms if 056D: actor [email protected] defined jf @NONAME_14jump @1 I found out a way! But on some peds they get off the bike and start shooting me. How do i change their behaviour to be scared of me? Here is the code {$VERSION 3.1.0027}{$CLEO .cs}0000: nop:NONAME_140001: wait 100 ms 07AF: $PLAYER_GROUP = player $PLAYER_CHAR group 092B: [email protected] = group $PLAYER_GROUP member 0 :1wait 0 ms0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to [email protected] closest_ped_to [email protected]: remove_references_to_actor [email protected] // Like turning an actor into a random pedestrian 06C9: remove_actor [email protected] from_group if and0AB0: 32 //spacebar07FD: group $PLAYER_GROUP alive jf @NONAME_1405CB: AS_actor [email protected] enter_car [email protected] as_driver -1 ms if 056D: actor [email protected] defined jf @NONAME_14jump @1 Please help Link to comment Share on other sites More sharing options...
james227uk Posted August 7, 2010 Share Posted August 7, 2010 Use the button. Don't double post. It is frowned upon on these forums Link to comment Share on other sites More sharing options...
ZAZ Posted August 7, 2010 Share Posted August 7, 2010 Please help {$CLEO .cs}thread 'GANGDRV':GANGDRV_1wait 0if0256: player $PLAYER_CHAR definedjf @GANGDRV_1if0AB0: key_pressed 32 //spacebarjf @GANGDRV_107AF: [email protected] = player $PLAYER_CHAR group092B: [email protected] = group [email protected] member 0if056D: actor [email protected] definedjf @GANGDRV_1if8118: not actor [email protected] deadjf @GANGDRV_1:GANGDRV_5wait 2500006: [email protected] = -10AB5: store_actor $PLAYER_ACTOR closest_vehicle_to [email protected] closest_ped_to [email protected] 50if8039: not [email protected] == -1 // integer values004D: jump_if_false @GANGDRV_500AD: set_car [email protected] max_speed_to 0.0020A: set_car [email protected] door_status_to 006C9: remove_actor [email protected] from_group060B: set_actor [email protected] decision_maker_to 3205CB: AS_actor [email protected] enter_car [email protected] as_driver -1 ms:GANGDRV_7wait 0if0256: player $PLAYER_CHAR definedjf @GANGDRV_13if and8119: not car [email protected] wrecked8118: not actor [email protected] deadjf @GANGDRV_13if00DB: actor [email protected] in_car [email protected] @GANGDRV_7Car.SetToPsychoDriver([email protected])Car.SetMaxSpeed([email protected], 25.0)wait 10000:GANGDRV_13Actor.RemoveReferences([email protected])01C3: remove_references_to_car [email protected]: release_group [email protected] @GANGDRV_1 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now