CLEO Fly with window in car

Добавляет вылет с окна машины как в GTA 4 для GTA SA, CLEO скрипт.
В скрипте есть много багов.

thread 'WIN' 
jump @WIN_18

:WIN_18
wait 0
if and
not Actor.DrivingPlane($PLAYER_ACTOR)
Actor.Driving($PLAYER_ACTOR)
847A: not actor $PLAYER_ACTOR driving_bike
84A7: not actor $PLAYER_ACTOR driving_boat
84A9: not actor $PLAYER_ACTOR driving_heli
jf @WIN_132
if and
not Actor.DrivingVehicleType($PLAYER_ACTOR, #TRACTOR)
not Actor.DrivingVehicleType($PLAYER_ACTOR, #COMBINE)
not Actor.DrivingVehicleType($PLAYER_ACTOR, #GOLFCLUB)
not Actor.DrivingVehicleType($PLAYER_ACTOR, #KART)
not Actor.DrivingVehicleType($PLAYER_ACTOR, #MOWER)
jf @WIN_132
0@ = Actor.CurrentCar($PLAYER_ACTOR)
1@ = Car.Health(0@)
jump @WIN_139

:WIN_132
jump @WIN_18

:WIN_139
if
not Actor.Driving($PLAYER_ACTOR)
jf @WIN_162
jump @WIN_18

:WIN_162
0085: 2@ = 1@
0087: 4@ = 3@
06A2: get_car 0@ velocity_in_direction_XYZ 8@ 9@ 10@
wait 0
1@ = Car.Health(0@)
02E3: 3@ = car 0@ speed
0062: 2@ -= 1@
3@ *= 2.0
3@ /= 3.0
if and
2@ > 80
4@ > 6.0
8035: not 3@ >= 4@
jf @WIN_694
04C4: store_coords_to 5@ 6@ 7@ from_actor $PLAYER_ACTOR with_offset 0.0 1.5 1.0
8@ *= 2.0
9@ *= 2.0
if
10@ > 0.0
jf @WIN_356
10@ *= 2.0

:WIN_356
10@ += 5.0
11@ = Car.Angle(0@)
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 5@ 6@ 7@
083C: set_actor $PLAYER_ACTOR velocity_in_direction_XYZ 8@ 9@ 10@
Actor.StorePos($PLAYER_ACTOR, 5@, 6@, 7@)
0087: 8@ = 7@
8@ -= 0.8
if
84EE: not animation "PED" loaded
jf @WIN_459
04ED: load_animation "PED"

:WIN_459
86BD: not no_obstacles_between 5@ 6@ 7@ and 5@ 6@ 8@ solid 1 car 1 actor 0 object 1 particle 0
jf @WIN_539
wait 0
Actor.StorePos($PLAYER_ACTOR, 5@, 6@, 7@)
0087: 8@ = 7@
8@ -= 1.1
jump @WIN_459

:WIN_539
06BD: no_obstacles_between 5@ 6@ 7@ and 5@ 6@ 8@ solid 1 car 1 actor 0 object 1 particle 0
jf @WIN_656
wait 0
0812: AS_actor $PLAYER_ACTOR perform_animation "FALL_FRONT" IFP "PED" framedelta 4.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1
Actor.StorePos($PLAYER_ACTOR, 5@, 6@, 7@)
0087: 8@ = 7@
8@ -= 1.1
jump @WIN_539

:WIN_656
0812: AS_actor $PLAYER_ACTOR perform_animation "GETUP_FRONT" IFP "PED" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 0 time -1

:WIN_694
3@ *= 3.0
3@ /= 2.0
jump @WIN_139



Просмотров: 2210
7.11.2013, 19:14 -

Категория: Grand Theft Auto: San Andreas » Скрипты для Grand Theft Auto: San Andreas » CLEO скрипты для Grand Theft Auto: San Andreas

Коментарии к CLEO Fly with window in car: