Jump to content

» «

[Cleo-How To]Make ingame changeable variables

1 reply to this topic
Saint Burak
  • Saint Burak

    Square Civilian

  • Members
  • Joined: 04 Nov 2010


Posted 08 July 2012 - 02:48 PM Edited by Saint Burak, 08 July 2012 - 04:35 PM.

This is my first English tutorial.If I've mistakes, please tell me.

First we need:

1.Cleo 4
3.A Brain biggrin.gif

Now we have to create a .ini file.I've created my .ini file and named it to "example" and I chose "home" key(deciminal of "home" key is 36) for my mod.Here's my codes:


You can change "36" to deciminal of the key you want to.

Now create a cleo file(Of coure you can edit your cleo file if you want to biggrin.gif) and add the following opcode before key check:

0AF0: [email protected] = get_int_from_ini_file "CLEO\example.INI" section "hereissection" key "hereiskey" //IF and SET

Now change deciminal of your keycheck to "[email protected]" like that:

0AB0: † key_pressed [email protected]
else_jump @keycheck

Here is all of them:

0AF0: [email protected] = get_int_from_ini_file "CLEO\example.INI" section "hereissection" key "hereiskey" //IF and SET
0AB0:   key_pressed [email protected]
else_jump @keycheck

Now save your cleo and open game.If you change deciminal of key in .ini file, cleo reads your changed deciminal and redirects to key check.I mean if I open game and change 36 to 8 in .ini file, my cleo works when I press Backspace.

I hope you can understand my English even I can't understand. biggrin.gif

  • Shmoopy

    Lost interest in GTA

  • Members
  • Joined: 16 Jun 2009
  • None


Posted 21 August 2012 - 09:33 PM

Thanks man , for me this is one of the most understandable tutorials ever made in the forums , we dont have to read it twice smile.gif

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users