How to change the activation keys on a cleo script

First you will need SannyBuilder: sannybuilder.com
Download and install that.
Open Sannybuilder and click on decompile as such:
k1dm5l.png

Or just press F5.

Locate your Cleo mod/hack, I prefer putting the ones in a separate folder called something like "My cleo scripts"
When you open it look for this line or something similar:
Code:
0AB0:   key_pressed  57
The number "57" is a virtual key code. (Your activation key)



Virtual Key Codes:

Key        Number

Mouse 1        1
Mouse 2        2
Mouse 3        4
Mouse 4        5
Mouse 5        6

Space        32
Tab        9
Enter        13
Shit        16
Alt        18

F1        112
F2        113
F3        114
F4        115
F5        116
F6        117
F7        118
F8        119
F9        120
F10        121
F11        122
F12        123

Entf        46
Einfg        45
Pos1        36
Ende        35
Bild Down      34
Bild Up        33

Numpad 1      97
Numpad 2      98
Numpad 3      99
Numpad 4      100
Numpad 5      101
Numpad 6      102
Numpad 7      103
Numpad 8      104
Numpad 9      105
Numpad +      107
Numpad -      109
Numpad /      111
Numpad *      106
Arrowleft      37
Arrowright      39
Arrowtop      38
Arrowbottom      40

1        49
2        50
3        51
4        52
5        53
6        54
7        55
8        56
9        57
0        48

´        221
-        189
.        190
,        188
<        226
^        220
ESC        27

A        65
B        66
C        67
D        68
E        69
F        70
G        71
H        72
I        73
J        74
K        75
L        76
M        77
N        78
O        79
P        80
Q        81
R        82
S        83
T        84
U        85
V        86
W        87
X        88
Y        89
Z        90



When you have changed them to what you like click on "Compile & copy. Or press F7.
After you have done that you should get something like this:
35k1x0k.jpg


Now you can close sannybuilder.
Go to the folder that you had the cleo script in there should be a file like this.
If you had a cleo script by the name of abcd.cs it will be something like this: abcd[0].cs.
There will be a couple of text files also.
Just copy the .cs file into your CLEO folder in your San Andreas directory. Done.
Open your game and enjoy.
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
that script is locked dude, the scripter of that file doesn't want you to get the codes. Do the same on other cleo files and they will show up.
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
I followed your step and when i try to put the cleo mod again, it showed me like this

[/url]

Debug options - Ignore Unknown, if it still doesn't work it means it's crypted, so you don't poke your nose in someone else private shit.
You can decrypt it of course, but i won't tell you how because it ain't nice.
 

BadBoy1997

Active member
Joined
Jul 22, 2013
Messages
34
Reaction score
0
that script is locked dude, the scripter of that file doesn't want you to get the codes. Do the same on other cleo files and they will show up.
the mod i wanted to change it's button was your anti stunt mod, can you unlock it so i can change the activation button please?
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
[quote author="xzytro"]that script is locked dude, the scripter of that file doesn't want you to get the codes. Do the same on other cleo files and they will show up.
the mod i wanted to change it's button was your anti stunt mod, can you unlock it so i can change the activation button please?[/quote]
Code:
// This file was decompiled using sascm.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013

{$VERSION 3.1.1000}
{$CLEO .cs}

//-------------MAIN---------------
0662: printstring "ANILTURE SAYS HI" 
thread 'ANTISTUNSHOT' 

:ANTISTUNSHOT_39
wait 1000 
if and
   Player.Defined($PLAYER_CHAR)
0AB0:   key_pressed 45 
jf @ANTISTUNSHOT_39 
wait 0 
0946: set_actor $PLAYER_ACTOR actions_uninterupted_by_weapon_fire 1 
0ACD: show_text_highpriority "~W~ANTI-STUNSHOT ~G~ENABLED" time 1200 

:ANTISTUNSHOT_109
wait 1000 
if and
0AB0:   key_pressed 88 
0AB0:   key_pressed 45 
jf @ANTISTUNSHOT_109 
wait 0 
0946: set_actor $PLAYER_ACTOR actions_uninterupted_by_weapon_fire 0 
0ACD: show_text_highpriority "~Y~ANTI-STUNSHOT ~R~DISABLED" time 1200 
jump @ANTISTUNSHOT_39
 

BadBoy1997

Active member
Joined
Jul 22, 2013
Messages
34
Reaction score
0
Hey can you update the tutorial image in your post on the first page please? I cant open it :(
 

sl1p4

Active member
Joined
Apr 9, 2014
Messages
28
Reaction score
0
Please create lesson, with deactivation.
My cleo mod have activate command, but no deactivate
 

infamousliez

New member
Joined
Feb 12, 2014
Messages
1
Reaction score
0
how can i make a toggable cleo, to a cleo thats just always on when i start up the game?
 

Narcotic

Active member
Joined
Aug 1, 2013
Messages
144
Reaction score
0
For some reason this isn't working for Reloading.cs

I don't want to press R to fucking reload.
 

Flavius97

Member
Joined
Mar 27, 2014
Messages
14
Reaction score
0
:table_flip: Unknown directive SAMP.ChatInputOpened().

{$CLEO .cs}

0000: NOP

:NONAME_2
0001:  wait 0 ms
00D6:  if and
not    SAMP.ChatInputOpened()
00DF:  actor $PLAYER_ACTOR driving
key_down 107
jf @NONAME_2
0@  =  Actor.CurrentCar($PLAYER_ACTOR)
0224:  set_car 0@ health_to 990
print "~g~Vehicle Fixed" 1200
0002:  jump @NONAME_2
 

rottentwinkie

Moderator
Moderator
Joined
Apr 4, 2014
Messages
608
Reaction score
3
Narcotic link said:
For some reason this isn't working for Reloading.cs

I don't want to press R to fucking reload.

It's mean that the mod are Crypted.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Flavius97 link said:
:table_flip: Unknown directive SAMP.ChatInputOpened().

{$CLEO .cs}

0000: NOP

:NONAME_2
0001:  wait 0 ms
00D6:  if and
not    SAMP.ChatInputOpened()
00DF:  actor $PLAYER_ACTOR driving
key_down 107
jf @NONAME_2
0@  =  Actor.CurrentCar($PLAYER_ACTOR)
0224:  set_car 0@ health_to 990
print "~g~Vehicle Fixed" 1200
0002:  jump @NONAME_2

Update your Sanny Builder version. Compiles fine for me.
 

Attachments

  • u.cs
    17.5 KB · Views: 320

G5umpy

New member
Joined
Dec 20, 2014
Messages
4
Reaction score
0
QSTYLEZZ link said:
How to add an activation key? I mean a cleo mod hasnt now an activation systemor code how to add one?

I would like to know this too
Pls  :yesyes:
 

CoreyDC

Active member
Joined
Jul 16, 2013
Messages
30
Reaction score
0
I tried changing this cleo's activation key but when I try to compile it, it gives me a compiler error: Illegal char in the identifier $SPRINGFIELD_UGBASE_41.
http://ugbase.eu/releases-6/skinaimbot-%28updated%29/
 

OverLoad

Active member
Joined
Dec 23, 2013
Messages
67
Reaction score
0
How do I change the key for PoorAim.cs?
Its Activation works but deactivation doesn't :/
 

drex

Active member
Joined
Oct 23, 2014
Messages
88
Reaction score
0
Guys How to Hold key? Like i put 123 for Set Player hp to 100. So when im at low hp i just press F12 to gain hp and but then you have to keep holding the key F12 for HP lock. So can anyone tell me the syntax or something to actaully just Press F12 once and the cleo script would hold it? so it become hp lock
I am new to cleo scripting just recent :p Its so awesome and i made FasReload.cs and This sethp.cs
All thanks to guide from [member=12596]XypRo[/member]  xD
:somuchwin:
 
Top