CLEO Help How to change Key press to typing letter?

CLEO related
Status
Not open for further replies.

drex

Active member
Joined
Oct 23, 2014
Messages
88
Reaction score
0
Hey, could anyone tell me how do you change the activation key from 123 = F12 to typing "Cbug" or something like that?
I'm trying to edit someone's .cs file because he want it to change the key from 101 to "mcar"

One more thing. I have samfuncs 5.2.1 and I downloaded new opcodes v2.0 I tried to compile this file and it showed unknown opcode 0B2E. Help me please
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Decompile the script, look for opcode 0AB0, change it to 0ADC.

2nd thing, your probably overwritten SF opcodes.txt/sascm.ini with the ones from NewOpcodes, you need to merge the two files.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Remove newOpcodes v2.0, it's been explicitly stated by FYP in FAQ for SF 5.2.2 that newOpcodes is not compatible with sampfuncs. You have been forewarned.
 

Crook

Active member
Joined
May 19, 2013
Messages
136
Reaction score
0
Can't we do like..

Code:
if and
key_pressed *some random letter*
key_pressed *second letter*
key_pressed *third letter*

I'm not a cleo expert but that's what I have in mind.
 
Status
Not open for further replies.
Top