Edward_FFS Posted October 18, 2010 Share Posted October 18, 2010 (edited) hi... I've been reading the tutorial section, and I managed to add car spawn locations ... but there's something wrong: i added 3 cars, but they never appear all at once, sometimes there's one, others two... Did I do something wrong? Is there something to do with SA Limit Adjuster? Look what I wrote: //-------------MAIN---------------0000: NOP 014B: $F1_TRACK = init_parked_car_generator #HERMES color -1 -1 1 alarm 0 door_lock 0 0 10000 at 433.0477 -2327.212 40.20622 angle 138.1745 014C: set_parked_car_generator $F1_TRACK cars_to_generate_to 101 014B: $F1_TRACK = init_parked_car_generator #BROADWAY color -1 -1 1 alarm 0 door_lock 0 0 10000 at 448.0357 -2327.205 40.38147 angle 138.1745 014C: set_parked_car_generator $F1_TRACK cars_to_generate_to 101 014B: $F1_TRACK = init_parked_car_generator #REMINGTN color -1 -1 1 alarm 0 door_lock 0 0 10000 at 442.6131 -2326.861 40.20589 angle 138.1745 014C: set_parked_car_generator $F1_TRACK cars_to_generate_to 101 :NONAME_152wait 0 jump @NONAME_152 Any Sugestions? Edited October 18, 2010 by Edward_FFS Link to comment https://gtaforums.com/topic/461261-adding-car-spawn-locations/ Share on other sites More sharing options...
BnB Posted October 18, 2010 Share Posted October 18, 2010 {$CLEO}0000: NOP 0A95: enable_thread_saving014B: 0@ = init_parked_car_generator #HERMES color -1 -1 1 alarm 0 door_lock 0 0 10000 at 433.0477 -2327.212 40.20622 angle 138.1745014C: set_parked_car_generator 0@ cars_to_generate_to 101014B: 1@ = init_parked_car_generator #BROADWAY color -1 -1 1 alarm 0 door_lock 0 0 10000 at 448.0357 -2327.205 40.38147 angle 138.1745014C: set_parked_car_generator 1@ cars_to_generate_to 101014B: 2@ = init_parked_car_generator #REMINGTN color -1 -1 1 alarm 0 door_lock 0 0 10000 at 442.6131 -2326.861 40.20589 angle 138.1745014C: set_parked_car_generator 2@ cars_to_generate_to 1010A93: // end the thread Each car must be handled in a different variable! Don't use global variables in cleo! Link to comment https://gtaforums.com/topic/461261-adding-car-spawn-locations/#findComment-1060166702 Share on other sites More sharing options...
TheSiggi Posted October 18, 2010 Share Posted October 18, 2010 nope, you can actually overwrite the handle of a parked car generator this code works briliant for me! {$CLEO}0000:0A95: enable_thread_saving014B: 0@ = init_parked_car_generator #COMET color -1 -1 1 alarm 0 door_lock 0 0 10000 at 1358.4176 -610.3273 108.7655 angle 81.2812014C: set_parked_car_generator 0@ cars_to_generate_to 101014B: 0@ = init_parked_car_generator #SENTINEL color -1 -1 1 alarm 0 door_lock 0 0 10000 at 1361.2737 -620.407 108.6851 angle 95.8551 014C: set_parked_car_generator 0@ cars_to_generate_to 101 014B: 0@ = init_parked_car_generator #BANSHEE color -1 -1 1 alarm 0 door_lock 0 0 10000 at 1315.5649 -631.5021 108.688 angle 289.6514014C: set_parked_car_generator 0@ cars_to_generate_to 1010A93: end_custom_thread Link to comment https://gtaforums.com/topic/461261-adding-car-spawn-locations/#findComment-1060166706 Share on other sites More sharing options...
Edward_FFS Posted October 18, 2010 Author Share Posted October 18, 2010 I tried the BnB tip, but the problem persists, the cars don't appear all at once... Any more sugestions? Link to comment https://gtaforums.com/topic/461261-adding-car-spawn-locations/#findComment-1060167206 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