CLEO Help How to add activator to cs files ?

CLEO related
Status
Not open for further replies.

Vouldor

Active member
Joined
Dec 2, 2014
Messages
28
Reaction score
0
Hello.
i am a newbie so i can't do stuff with sanny builder
i want to add activator (not changing) to a mod called wolverine.cs
how can i do it ?

and how can i change an activator i saw on a thread it says find "key_pressed"
instead i found "key_down"
what is the different?

Edit : i want to compile file in sanny builder but it says "Unknown directive SAMP.ChatInputOpened."
 

Vouldor

Active member
Joined
Dec 2, 2014
Messages
28
Reaction score
0
yes i mean on/off with the same key but i still don't understand how to do it. that thread doesn't help a newbie like me. can u teach me pls ?
so key_down and key_pressed is the same ?
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
key_down and key_pressed are the same things, sanny builder can make use of keywords to replace opcodes(0AB0=key_down, 0001=wait etc)

First you should add a main loop to check for the activation method(0ab0, 0adc etc) then setting a variable to true/false, in the same loop check if the variable is true and proceed with the script.

The link posted by pepeelpubero should be enough to help you understand how to add a simple activation check.
 

Vouldor

Active member
Joined
Dec 2, 2014
Messages
28
Reaction score
0
:table_flip: i am a noobfuck i don't understand a thing.instead can you add an activator for me pls ?
that cleo mod will make an .ini file if u use it
 

Attachments

  • WolverineAdvanced_bY_M1ZG4RD.cs
    19.2 KB · Views: 38
Status
Not open for further replies.
Top