//-------------MAIN---------------
thread "Taze"
:Taze_8
wait 0
if and
056D: actor $PLAYER_ACTOR defined
key_down 49
else_jump @Taze_8
0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@
if
056D: actor 1@ defined
else_jump @Taze_127
2@ = SAMP.GetSAMPPlayerIDByActorHandle(1@)
Player.CanMove($PLAYER_CHAR) = False
wait 100
0AF9: samp say_msg "/taze %d" 2@
wait 1650
Player.CanMove($PLAYER_CHAR) = True
wait 100
Player.CanMove($PLAYER_CHAR) = False
0AF9: samp say_msg "/cuff %d" 2@
wait 1450
Player.CanMove($PLAYER_CHAR) = True
wait 100
Player.CanMove($PLAYER_CHAR) = False
0AF9: samp say_msg "/arrest %d" 2@
wait 0
Player.CanMove($PLAYER_CHAR) = True
:Taze_127
wait 1000
goto @Taze_8
thread "Taze"
:Taze_8
wait 0
if and
056D: actor $PLAYER_ACTOR defined
key_down 49
else_jump @Taze_8
0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@
if
056D: actor 1@ defined
else_jump @Taze_127
2@ = SAMP.GetSAMPPlayerIDByActorHandle(1@)
Player.CanMove($PLAYER_CHAR) = False
wait 100
0AF9: samp say_msg "/taze %d" 2@
wait 1650
Player.CanMove($PLAYER_CHAR) = True
wait 100
Player.CanMove($PLAYER_CHAR) = False
0AF9: samp say_msg "/cuff %d" 2@
wait 1450
Player.CanMove($PLAYER_CHAR) = True
wait 100
Player.CanMove($PLAYER_CHAR) = False
0AF9: samp say_msg "/arrest %d" 2@
wait 0
Player.CanMove($PLAYER_CHAR) = True
:Taze_127
wait 1000
goto @Taze_8
I want that it should not stop when i taze some1 or cuff and I want to change the seconds Like Taze,cuff & arrest in 2 seconds only.
Thanks a lot ugbase My Life <3 :ugbase: :ugbase: :ugbase: :ugbase: