Post: [Tutorial] Advanced Toggles (CFG)
08-08-2013, 04:40 AM #1
KadenxC28
Little One
(adsbygoogle = window.adsbygoogle || []).push({}); In this thread I am going to try to explain advanced toggles in cfg coding and how they can be used to make your menus more sexy.

First, I will show a simple example of a super jump toggle.

    set SuperJump "vstr SuperText;set R3 \""toggle SuperToggle \"vstr Jump999\" \"vstr Jump500\" \"vstr Jump39\";vstr SuperToggle"
set SuperText "vstr SJ39"
set SJ39 "\""^2Jump: ^5Default"\""
set SJ500 "\""^2Jump: ^5500"\""
set SJ999 "\""^2Jump: ^5999"\""

//Toggle (what makes it work)
set SuperToggle ""
set Jump999 "jumpheight 999;set SuperText vstr SJ999;vstr SuperJump"
set Jump500 "jumpheight 500;set SuperText vstr SJ500;vstr SuperJump"
set Jump38 "jumpheight 39;set SuperText vstr SJ39;vstr SuperJump"


Now, you can make it much more complicated but I'll save that for later.

Basically, when the "SuperJump" function is called, "Jump: Default" will show up on screen. Every time you push R3, it toggles "SuperToggle" between "Jump999, Jump500, and Jump39 (default)".

For example, the function "Jump999" sets the jump height to 999, sets "SuperText" to "Jump: 999" and calls "SuperJump" to refresh the text.

That's all I'll explain for now. I may update the thread later. If you have any questions about this, quote me and I will answer.

Also, credits to iTrexk as I believe he was the first person to use this.
(adsbygoogle = window.adsbygoogle || []).push({});
08-08-2013, 08:31 AM #2
Lol a lot of people know hoe to do this already...
And this is a more complicated way of how I do it.
08-08-2013, 09:29 AM #3
Originally posted by AsteriskHD View Post
Lol a lot of people know hoe to do this already...
And this is a more complicated way of how I do it.


Could you show me a easier way i know how to do it this way Smile but is their say a shorter way ?
08-08-2013, 01:53 PM #4
KadenxC28
Little One
Originally posted by AsteriskHD View Post
Lol a lot of people know hoe to do this already...
And this is a more complicated way of how I do it.


Obviously, people know how to do it. But know body uses it. And I made this for the people that don't know how to do it Smile
08-08-2013, 08:19 PM #5
Originally posted by KadenxC28 View Post
Obviously, people know how to do it. But know body uses it. And I made this for the people that don't know how to do it Smile


Tbh in my opinion the average cfg patch user or what ever most likely won't understand this they are to ignorant to learn that's just the truth. But those who do want to better their patch this is a very usefull thing im curious if their is a shorter version though as this kind of is alot for just one thing im looking for a cleaner type of coding if that makes since Smile im using this way atm work's great just looking to shortening it
08-09-2013, 12:44 AM #6
KadenxC28
Little One
There are ways to shorten this, in fact you could put all that code into one line. If you need help with anything or have anymore questions, add me on Skype: Obey_GunShotZ

And yeah I know what you mean. Nobody cares enough to learn advanced cfg coding and better their patches. :/

Originally posted by xFlamableHD
Tbh in my opinion the average cfg patch user or what ever most likely won't understand this they are to ignorant to learn that's just the truth. But those who do want to better their patch this is a very usefull thing im curious if their is a shorter version though as this kind of is alot for just one thing im looking for a cleaner type of coding if that makes since Smile im using this way atm work's great just looking to shortening it
08-09-2013, 01:04 AM #7
Originally posted by KadenxC28 View Post
There are ways to shorten this, in fact you could put all that code into one line. If you need help with anything or have anymore questions, add me on Skype: Obey_GunShotZ

And yeah I know what you mean. Nobody cares enough to learn advanced cfg coding and better their patches. :/


Ok thank's and yea i think people using for example jokaNot Happy or Sadmodz is a idiot way of learning more advanced cfg. But what are you to do ? a monkey can't do a new trick they only can copy what they see ha ha. And in my opinion the usb user's are the worst im not saying all but i mean their are some DUMB people in this world man the thing's usb user's think stun me lol. People have asked me ingame to activate their usb menu's......
08-09-2013, 01:58 AM #8
KadenxC28
Little One
I use USB Not Happy or Sad haha but I'm not an idiot, i just think a jb is a waste of money. xD

Originally posted by xFlamableHD
Ok thank's and yea i think people using for example jokaNot Happy or Sadmodz is a idiot way of learning more advanced cfg. But what are you to do ? a monkey can't do a new trick they only can copy what they see ha ha. And in my opinion the usb user's are the worst im not saying all but i mean their are some DUMB people in this world man the thing's usb user's think stun me lol. People have asked me ingame to activate their usb menu's......
08-09-2013, 03:05 AM #9
Originally posted by KadenxC28 View Post
I use USB Not Happy or Sad haha but I'm not an idiot, i just think a jb is a waste of money. xD


That's why i say not all as for a cfw depend's on your opinion of if you want one i've had mine for a while now come's in handy when i need to test sonething or play far cry 3. Now since ps4 is soo close yes i would agree with you why pay 200 - 350$ for a used console when ps4 is right around the corner Smile ready for bf4

The following user thanked xFlamableHD_ for this useful post:

*xActionMods*
08-09-2013, 04:15 AM #10
KadenxC28
Little One
Originally posted by xFlamableHD
That's why i say not all as for a cfw depend's on your opinion of if you want one i've had mine for a while now come's in handy when i need to test sonething or play far cry 3. Now since ps4 is soo close yes i would agree with you why pay 200 - 350$ for a used console when ps4 is right around the corner Smile ready for bf4


Yessss! I'm literally building a gaming pc just for BF4 xD

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo