How to change the activation keys on a cleo script

cApSL0ckb0mb3r

Well-Known Member
Joined
Feb 18, 2013
Messages
196
Likes
0
Points
66
Website
www.holy-shit-man.weebly.com
#1
First you will need SannyBuilder: sannybuilder.com
Download and install that.
Open Sannybuilder and click on decompile as such:
http://i45.tinypic.com/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:
http://oi50.tinypic.com/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.
 

Hansin

Well-Known Member
Joined
Feb 25, 2013
Messages
169
Likes
0
Points
66
#2
Thanks man, but went i did everything, i didnt see the arm_off[0].cs, where can i find the cleo that i just changed
 

Z0DY

Well-Known Member
Joined
Feb 20, 2013
Messages
225
Likes
0
Points
66
#7
How put two keys? Like... CTRL+0
change the
"If"
to "If and" like this
Code:
If and
0AB0:  key_pressed 17
0AB0:  key_pressed 48
jf @blubb
 
Joined
Mar 25, 2013
Messages
20
Likes
0
Points
51
#8
Guy, I try to change the key on carflood_.cs but when i press "Compile + Copy"
It shows me

http://i39.tinypic.com/whi7bm.png

Can anyone give me the file with this cheanged...
Code:
0AB0:   key_pressed 189
Thanks.
 

xzytro

Well-Known Member
Joined
Apr 1, 2013
Messages
2,297
Likes
0
Points
86
#11
it's the same way. You just need to look at the script carefully, if you see something like this :
0ACD: show_text_highpriority "~R~DISABLED" time 1200
the "key_pressed" for it's deactivation must be written before that line.
 

BadBoy1997

Active Member
Joined
Jul 22, 2013
Messages
34
Likes
0
Points
56
#18
hey capslockbomber, i really appreciate your work, this really helped but i got some problem which i can't solve by myself. i hope you can help me out

so you can see from this screenshot:
when i press f5 and insert the mod, it shows me like this
http://i1345.photobucket.com/albums/p668/thegame21011997/Problem1_zps0ac23596.png

and then it shows me the option, i don't know what to do so i just press ok, and nothing appears
http://i1345.photobucket.com/albums/p668/thegame21011997/Problem2_zpscfe22548.png

hope you read this as soon as possible. thanks in advance
 

springfield

Well-Known Member
Staff member
Joined
Feb 18, 2005
Messages
2,935
Likes
17
Points
88
Website
www.ugbase.eu
#19
In the second pic where it show GTA SA DIRECTORY, click on the button with ... and select your GTA SA folder. Simple as that.
 
Top