So, I was going through the forums when I saw this script
It was for some CnR's where when you aim at a person and press 1, a command is given to arrest, and when you press 2 a command is giving '/e'
What I need is that if someone could replace '/arrest' with '/cuff' and replace '/e' with '/arrest'.
It'll be very helpful for me, thanks!
Code:
{$CLEO .cs}
0000: NOP
:PEPE_22
wait 0
if and
0AD2: 0@ = player $PLAYER_CHAR targeted_actor //IF and SET
0AB0: 49 // KEY 1
jf @PEPE_23
0B2B: samp 2@ = get_player_id_by_actor_handle 0@
0AF9: "/arrest %d" 2@
:PEPE_23
wait 0
if and
0AD2: 0@ = player $PLAYER_CHAR targeted_actor //IF and SET
0AB0: 50 // KEY 2
jf @PEPE_24
0B2B: samp 2@ = get_player_id_by_actor_handle 0@
0AF9: "/e %d" 2@
:PEPE_24
jump @PEPE_22
It was for some CnR's where when you aim at a person and press 1, a command is given to arrest, and when you press 2 a command is giving '/e'
What I need is that if someone could replace '/arrest' with '/cuff' and replace '/e' with '/arrest'.
It'll be very helpful for me, thanks!