CLEO Help Kindly help me - Cleo

CLEO related
Status
Not open for further replies.

Child_

Active member
Joined
May 9, 2015
Messages
115
Reaction score
0
So, I was going through the forums when I saw this script

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!
 

HarrisonFord

Active member
Joined
Nov 25, 2013
Messages
135
Reaction score
3
The gay Gamer link said:
You got it wrong, I said it worked when it didn't gave out any exceptions, but when I really tried to use it, It didn't work, But I didn't made any new comment cause I didn't wanted Killer to rage, I just didn't wanted to be a asshole.

Then it didnt work afterall did it?
Why would you say it works, if you didnt even try it out xD

Thats my point dude ^^ But i dont really care though :p
I hope you find what you're looking for! unfortunatly i cannot help you :( Im not playing RP or CnR servers :(
 

Child_

Active member
Joined
May 9, 2015
Messages
115
Reaction score
0
I've got a problem, The code that springfield posted, can someone compile it, cause it contains the SampFuncs Opcode, which my Sanny Builder doesn't let me compile.
 
Status
Not open for further replies.
Top