// This file was decompiled using SASCM.INI published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$VERSION 3.1.0000}
{$CLEO .cs}
const
RED = 0xFFFF0000
ORANGE = 0xFFA500
MAROON = 0xFFBF1111
end
//-------------MAIN---------------
thread "Taze"
:TAZE_8
wait 0
if and
056D: actor $PLAYER_ACTOR defined
key_down 49
else_jump @TAZE_8
:FUCKTAG
wait 0
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@)
0B37: samp 3@ = get_player_color 2@
if or
3@ == RED
3@ == ORANGE
3@ == MAROON
004D: jump_if_false @FUCKTAG
0AF9: samp say_msg "/taze %d" 2@ // Not working. 2@ returns nothing
wait 1050
0AF9: samp say_msg "/cuff %d" 2@ // Not working. 2@ returns nothing
wait 1050
0AF9: samp say_msg "/arrest %d" 2@ // Not working. 2@ returns nothing
jump @TAZE_8
else_jump @fucktag
:TAZE_127
wait 0
jump @TAZE_8
{$VERSION 3.1.0000}
{$CLEO .cs}
const
RED = 0xFFFF0000
ORANGE = 0xFFA500
MAROON = 0xFFBF1111
end
//-------------MAIN---------------
thread "Taze"
:TAZE_8
wait 0
if and
056D: actor $PLAYER_ACTOR defined
key_down 49
else_jump @TAZE_8
:FUCKTAG
wait 0
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@)
0B37: samp 3@ = get_player_color 2@
if or
3@ == RED
3@ == ORANGE
3@ == MAROON
004D: jump_if_false @FUCKTAG
0AF9: samp say_msg "/taze %d" 2@ // Not working. 2@ returns nothing
wait 1050
0AF9: samp say_msg "/cuff %d" 2@ // Not working. 2@ returns nothing
wait 1050
0AF9: samp say_msg "/arrest %d" 2@ // Not working. 2@ returns nothing
jump @TAZE_8
else_jump @fucktag
:TAZE_127
wait 0
jump @TAZE_8