Tutorials & Guides

Do you want to know how to ? Check the useful topics here.
Hello, today i will explain "WHILE" statement for "WHILE TRUE" i think it means while everything is = 1 = true ( we learned 1 means true , 0 means false)then run the script. here is our simple script: :start wait 0 WHILE TRUE  // in capital or small letters (it doesn't matter)     wait 0 // after every "WHILE" we need "wait 0" to avoid crashing     if   0AB0:  key_pressed 49 //1     then  //every "then" needs "end" remember?         0AD1: show_formatted_text_highpriority "YOU PRESSED 1" time 1000     end  //this end is for "then" statement END //this big "END" is for "WHILE" , so "while" get closed,, every while needs closer which is "end" // we don't need to use big END because end = END , so capitals doesn't matter but we use END...
Hello, today i will explain how to use "IF OR" statement ok so this is a very simple script: {$CLEO} 0000: NOP // this is comment ... :MAIN wait 0 if and 056D:  actor $PLAYER_ACTOR defined 0AB0: 49 //key 1 pressed? jf @MAIN 0332: set_actor $PLAYER_ACTOR bleeding 1  jump @MAIN now you see we used "if and" now "if and" can handle 8 conditions as max and "if and" means that (if this condition is true AND if this condition is true) means that all conditions must be true to run the code so here: :MAIN wait 0 if and 056D:  actor $PLAYER_ACTOR defined 0AB0: 49 //key 1 pressed? jf @MAIN actor must be defined and key 1 must be pressed to run the script , else jump @main (the label) but now we want to run the code if we pressed...
Here is how are all those 'magical' Godmodes made: Shitty one: :LOOP wait 0 if 0ADC:  test_cheat "SHH" // Key Enabled / Disabled else_jump @MAIN if 31@ == 0 then 31@ = 1 018C: play_sound 1083 at 0.0 0.0 0.0 0ACD: show_text_highpriority "ACTIVATED" time 1337 else 31@ = 0 018C: play_sound 1084 at 0.0 0.0 0.0      0ACD: show_text_highpriority "DEACTIVATED" time 1337 end :MAIN wait 0 if 31@ == 1 // on jf @LOOP if not Actor.Stopped($PLAYER_ACTOR) jf @LOOP 21@ = Actor.Health($PLAYER_ACTOR) wait 300 22@ = Actor.Health($PLAYER_ACTOR) if 0029:  21@ >= 22@ jf @LOOP Actor.Health($PLAYER_ACTOR) = 21@ 0ACD: show_text_highpriority "PROTECTED" time 300 jump @LOOP Better one: :LOOP wait 0 if 0ADC:  test_cheat "Opcode69" // Key Enabled /...
--------------------------------------------------------------------------------------------------- This Tutorial Is Fully By Mr.Ze I'm Just Publishing it To Help Everybody. Mr.Ze Sent This To Me To Help me. And I Want To Help Everybody. I Don't Take Any Credit Of This. --------------------------------------------------------------------------------------------------- So, CLEO is a simple scripting lang. The best way you will learn is by looking at the scripts and trying to understand what they do and how they do it. Good example of a script: {$CLEO .cs} 0000: NOP :INFINITE_RUN_23 wait 0 IF AND 044B:  actor $PLAYER_ACTOR on_foot   NOT Actor.Driving($PLAYER_ACTOR) ELSE_JUMP @INFINITE_RUN_23...
Hello, today i will explain how to use another idea of "if" statement since i forgot to cover it hehehe so now we got a normal script: {$cleo} 0000: :MAIN wait 0 if and      // our conditions keyword 056D:  actor $PLAYER_ACTOR defined    //define the actor 0AB0:  key_pressed 115 //f4 jf @MAIN //here we put our codes to do if the conditions are true ,, like this: 0AD0: show_formatted_text_lowpriority "This is lazzy massage" time 2000 jump @MAIN so this is how we do it: we use "if" statement as usual , but after our conditions we remove "jf @MAIN" and we add "then" keyword like this: {$cleo} 0000: :MAIN wait 0 if and      // our conditions keyword 056D:  actor $PLAYER_ACTOR defined    //define the actor 0AB0: ...
Hello,today i will explain how to use different keys than we used to. all this time we used this opcode: 0AB0:  key_pressed 1 //shoot button list of keys can be found below this topic ok but now this code is not very useful in many cases ,, like " 0AB0:  key_pressed 49 " this will active the function when you press 1 on the keyboard , but the problem here is we will active the function by mistake when we type 1 in chat , like chatting with friends and typing "attack the 1 on the right" and then you pressed 1 and you active the cheat.. so to fix this , we need to change the codes because we need to active the cheat only when we type in the game not in chat section too.. and the great thing that we can do it with one opcode :) no...
Is it possible to make a keybinder as cleo? I want to script a cleo cause i dont like exe binder. How to send the command / input ingame? For example if i press 1 the cleo should send t/stats~  Ps: ~=Enter
Hi, I recieved a PM about a cleo tutorial which shows how to create a simple cleo file that activates when the user typed something on keyboard. So let's do it  :challenge_accepted: What to do uhm.  :surprised: Oh! , a cleo mod that gives nitro to the car when typed "NOS". Open Sanny Builder, hit Ctrl + N. Start with this : {$CLEO .cs} Without this the cleo will not work. Then, add name to your cleo file like below : thread 'NOS!'Any name you want. Now that we wrote this as total : {$CLEO .cs} thread "NOS!" Now we start scripting. To start, put something that starts with ':', like ':<yourname>_01', ==> :MAIN wait 0 I added "wait 0", because the cleo crashes if i don't use the "wait" command at the beginning. Now, we will put...
Tutorial: 1: Download and extract the key changer. 2: Open ''SCM Key Changer''. 3: Open the .cs file that you want to modify. 4: Set the key that you want on Vkey. 5: Save it. Your done! Enjoy it! :P :P:P Tested it!! Works 100%!! Link: http://www.sendspace.com/file/l1mejl Note: Save the file on your desktop and then replace it by the original one. ;) ;);)
Top