Professional Documents
Culture Documents
Madh Samp
Madh Samp
//-------------MAIN---------------
thread "MADH_SAMP"
:MADH_SAMP_13
wait 0
if and
Player.Defined($PLAYER_CHAR)
0AB0: key_pressed 17
0AB0: key_pressed 72
jf @MADH_SAMP_13
wait 0
Model.Load(#M4)
if and
Model.Available(#M4)
044B: actor $PLAYER_ACTOR on_foot
jf @MADH_SAMP_78
jump @MADH_SAMP_13
:MADH_SAMP_78
wait 0
$HELI = Actor.CurrentCar($PLAYER_ACTOR)
if or
Car.Id($HELI) == #MAVERICK
Car.Id($HELI) == #POLMAV
jf @MADH_SAMP_78
wait 0
fade 0 500
wait 500
0633: AS_actor $PLAYER_ACTOR exit_car
wait 2000
06A7: put_actor $PLAYER_ACTOR into_turret_on_car $HELI at_car_offset 1.25 1.4 0.1
position 1 shooting_angle 100.0 120.0 with_weapon 29
wait 500
fade 1 500
:MADH_SAMP_196
wait 0
if
Actor.Dead($PLAYER_ACTOR)
jf @MADH_SAMP_228
0465: remove_actor $PLAYER_ACTOR from_turret_mode
jump @MADH_SAMP_13
:MADH_SAMP_228
wait 0
if and
0AB0: key_pressed 17
0AB0: key_pressed 71
jf @MADH_SAMP_196
0465: remove_actor $PLAYER_ACTOR from_turret_mode
0430: put_actor $PLAYER_ACTOR into_car $HELI passenger_seat 0
jump @MADH_SAMP_13