james227uk Posted April 1, 2010 Share Posted April 1, 2010 Hi, In quick boredom I created this jeep, based of MW2. However, the script crashes before the Patriot even gets to me, which makes me think the problem lays in this part {$CLEO .cs}thread 'GUNJEEP':1wait 00ADC: test_cheat "JEEP"jf @1Model.Load(#MINIGUN)Model.Load(#PATRIOT)Model.Load(#ARMY)04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 30.0 0.004D3: get_nearest_car_path_coords_from [email protected] [email protected] [email protected] type 2 store_to [email protected] [email protected] [email protected]: store_target_marker_coords_to [email protected] [email protected] [email protected] // IF and SET:2wait 0Car.Create([email protected], #PATRIOT, [email protected], [email protected], [email protected])0129: [email protected] = create_actor_pedtype 23 model #ARMY in_car [email protected] driverseatMarker.CreateAboveCar([email protected], [email protected])Car.DriveTo([email protected], [email protected], [email protected], [email protected])0224: set_car [email protected] health_to 10000 Any help please? I've had 2 quick scan throughs (and I mean QUICK) because I am short for time, and found nothing. Link to comment Share on other sites More sharing options...
Silent Posted April 1, 2010 Share Posted April 1, 2010 You forgot about checking, if models are loaded ;o Link to comment Share on other sites More sharing options...
james227uk Posted April 1, 2010 Author Share Posted April 1, 2010 (edited) And so I have. Thanks. Testing. Of all the things to forget, I forget the obvious. EDIT: All fixed. Fully working. Edited April 1, 2010 by james227uk 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