bigfoam Posted January 3, 2016 Share Posted January 3, 2016 I want to put a new car (not replace) but if I put this code {$CLEO .cs} 014B: [email protected] = init_car_generator 14000 color -1 -1 force_spawn 1 alarm 50 door_lock 0 min_delay 0 max_delay 10000 at -1565.944 -2755.155 48.2256 angle 326.3117 014C: set_parked_car_generator [email protected] cars_to_generate_to 101 0A95: enable_thread_saving 0A93: end_custom_thread the new car it does not appear. How a new car could emerge? 14000 = new car Link to comment Share on other sites More sharing options...
ZAZ Posted January 5, 2016 Share Posted January 5, 2016 (edited) ADDCAR for parked_car_generator works only for ID till 630 {$CLEO .cs}// ADDCAR works only for ID till 630thread 'PACR'wait 10000A95: enable_thread_saving014B: [email protected] = init_parked_car_generator 612 -1 -1 1 alarm 0 door_lock 0 0 10000 at 883.3 2014.2 11.02 angle 0.0 014C: set_parked_car_generator [email protected] cars_to_generate_to 1010A93: end_custom_thread Or spawn car by this method change model ID and press backspace to spawn the car infront of CJ {$CLEO .cs}thread 'CARSPWI' [email protected] = 411 // < --- model IDwhile truewait 0 if Player.Defined($PLAYER_CHAR) then if 0AB0: key_pressed 8// ----- press BACKSPACE then 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 5.0 0.2 Model.Load([email protected]) while not Model.Available([email protected]) wait 0 end [email protected] = Car.Create([email protected], [email protected], [email protected], [email protected]) Model.Destroy([email protected]) Car.RemoveReferences([email protected]) wait 1000 end endend Edited January 5, 2016 by ZAZ CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
bigfoam Posted January 8, 2016 Author Share Posted January 8, 2016 Thank's ZAZ It's very work!! Link to comment Share on other sites More sharing options...
fastman92 Posted January 9, 2016 Share Posted January 9, 2016 ID limit for parked car generators. This limit is hacked by 'fastman92 limit adjuster' 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