:CopTurret2
wait 100
if
model.Available(#TEC9)
jf @CopTurret2
03C0: 20@ = actor $PLAYER_ACTOR car
:CopTurret3
while true
wait 3000
04C4: create_coordinate 1@ 2@ 3@ from_actor $PLAYER_ACTOR offset 60.0 60.0 0.0
04C4: create_coordinate 4@ 5@ 6@ from_actor $PLAYER_ACTOR offset -60.0 -60.0 0.0
10@ = -1
053E: 10@ = get_random_car_with_actors -1 in_area 1@ 2@ 4@ 5@
if
10@ -1
then
if or
Car.Id(10@) == #COPCARLA
Car.Id(10@) == #COPCARRU
Car.Id(10@) == #COPCARSF
Car.Id(10@) == #COPCARVG
Car.Id(10@) == #ENFORCER
then
if
8431: not car 10@ passenger_seat_free 0
then
:CopTurretMain
wait 100
0432: 11@ = get_actor_handle_from_car 10@ passenger_seat 0
if
not Car.Wrecked(10@)
then
:CopTurret4
wait 100
01B2: give_actor 11@ weapon 32 ammo 30000 // Load the weapon model before using this
01B9: set_actor 11@ armed_weapon_to 0
01B9: set_actor 11@ armed_weapon_to 32
Actor.SetCarWeapon(11@, 32, 200000)
:CopTurret5
wait 700
if
not Car.Wrecked(10@)
jf @CopTurret3
if
not Actor.Dead(11@)
jf @CopTurret3
if
Actor.Driving(11@)
jf @CopTurret5
0713: actor 11@ driveby_actor $PLAYER_ACTOR car 20@ point 0.0 0.0 0.0 radius 5000.0 8 1 firing_rate 90
end
end
end
end
end
Car.RemoveReferences(10@)
Actor.RemoveReferences(11@)
jump @CopTurretCheck
1189 Прочтений • [Полиция атакует Вас из туррета авто используя ТЕС9] [13.05.2012] [Комментариев: 0]