:
Destination Time
:
Present Time
:
Last Time Departed
Sign in to follow this  
Mr. Fusion

Extra Parts

Recommended Posts

Haven't checked if that works, but try this:

:Extra

thread 'Extra'

2@ = -1



:Extra_1

wait 10

if

Player.Defined($Player_Char)

jf @Extra_1

if

00E0:   player $PLAYER_CHAR driving

jf  @Extra_1

if

00E1:   key_pressed 0 19

jf @Extra_1

03C1: 0@ = player $PLAYER_CHAR car 

0441: 1@ = car 0@ model 

2@ += 1

if

2@ > 3

jf @Extra_2

2@ = -1



:Extra_2

0407: create_coordinate 3@ 4@ 5@ from_car 0@ offset 0.0 0.0 0.0 

012A: put_player $PLAYER_CHAR at 3@ 4@ 1000.0 and_remove_from_car 

6@ = Car.Angle(0@)

02E3: 7@ = car 0@ speed 

8@ = Car.Health(0@)

Car.Destroy(0@)

0506: vehicle_model 1@ set_next_variation -1 2@

0@ = Car.Create(1@, 3@, 4@, 5@)

Car.Angle(0@) = 6@

04BA: set_car 0@ speed_instantly 7@

Car.Health(0@) = 8@

wait 0

0369: put_player $PLAYER_CHAR in_car 0@

jump @Extra_1

Change 2@ > 3 to how many variations you like/your model has. Change 00E1: key_pressed 0 19 to the number of the key you want it to be mapped to, look in SB Help->SCM Documentation->Vice City->key_press numbers.

Share this post


Link to post
Share on other sites

paste a create_thread @Extra where the others are.

It will work only when driving the car.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this