Post: how to make toggle buttons
04-20-2011, 09:30 AM #1
Correy
I'm the Original
(adsbygoogle = window.adsbygoogle || []).push({}); In this tutorial I will be showing you how to make your own toggle buttons..

Here is a basic code..
    "bind dpad_up g_speed 700"

Yes, I know toggle works with this but this is an example.

If I was going to make this toggle you could put..
    bind dpad_up "vstr 1"
Set 1 "bind dpad_up g_speed 700;vstr 2"
Set 2 "bind dpad_up g_speed 100;vstr 1"

This will allow the toggle, the vstr 1 is the bind for set 1, they must always link to your percific mod.

You can use this for bypass or .cfg modding.

This will work with any bind / code wich does not already work with the toggle, enjoy :love:

xCorrey.
(adsbygoogle = window.adsbygoogle || []).push({});

The following user groaned Correy for this awful post:

xHePTiiC-
04-20-2011, 11:50 AM #2
Default Avatar
Brad
Guest
Originally posted by xCorrey
In this tutorial I will be showing you how to make your own toggle buttons..

Here is a basic code..
    "bind dpad_up g_speed 700"

Yes, I know toggle works with this but this is an example.

If I was going to make this toggle you could put..
    "bind dpad_up g_speed 700;vstr 1"
Set 1 "bind dpad_up g_speed 100"

This will allow the toggle, the vstr 1 is the bind for set 1, they must always link to your percific mod.

You can use this for bypass or .cfg modding.

This will work with any bind / code wich does not already work with the toggle, enjoy :love:

xCorrey.


but that would only change it once?
wouldn't you would want it to be like this?

bind dpad_up vstr 1
set 1 "g_speed 900;bind dpad_up vstr 2"
set 2 "g_speed 300;bind dpad_up vstr 1"

The following user thanked Brad for this useful post:

LetsGoGlobal
04-20-2011, 12:58 PM #3
Correy
I'm the Original
Originally posted by Dr.
but that would only change it once?
wouldn't you would want it to be like this?

bind dpad_up vstr 1
set 1 "g_speed 900;bind dpad_up vstr 2"
set 2 "g_speed 300;bind dpad_up vstr 1"


thats what i ment ha, thanks.
i created the thread on my phone :love:
04-20-2011, 02:08 PM #4
Default Avatar
Brad
Guest
Originally posted by xCorrey
thats what i ment ha, thanks.
i created the thread on my phone :love:


no problem. I noticed it and thought I would say something before people try to learn it and get it wrong Happy

---------- Post added at 02:49 PM ---------- Previous post was at 02:12 PM ----------

Originally posted by xCorrey
In this tutorial I will be showing you how to make your own toggle buttons..

Here is a basic code..
    "bind dpad_up g_speed 700"

Yes, I know toggle works with this but this is an example.

If I was going to make this toggle you could put..
    Set 1 "bind dpad_up g_speed 700;vstr 2"
Set 2 "bind dpad_up g_speed 100;vstr 1"

This will allow the toggle, the vstr 1 is the bind for set 1, they must always link to your percific mod.

You can use this for bypass or .cfg modding.

This will work with any bind / code wich does not already work with the toggle, enjoy :love:

xCorrey.


you forgot to activate it by adding bind dpad_up vstr 1

---------- Post added at 03:08 PM ---------- Previous post was at 02:49 PM ----------

i just had a thought. if it's this
Originally posted by another user

bind dpad_up "vstr 1"
Set 1 "bind dpad_up g_speed 700;vstr 2"
Set 2 "bind dpad_up g_speed 100;vstr 1"


it's going to go into set 2 or 1 before you have a chance to activate. so wouldn't it be
Originally posted by another user

bind dpad_up "vstr 1"
Set 1 "bind dpad_up vstr 2;g_speed 900"
Set 2 "bind dpad_up vstr 1;g_speed 300"

sorry i should have checked again before i submit my reply :/

The following user thanked Brad for this useful post:

Correy
04-20-2011, 02:54 PM #5
Correy
I'm the Original
Originally posted by Dr.
no problem. I noticed it and thought I would say something before people try to learn it and get it wrong Happy

---------- Post added at 02:49 PM ---------- Previous post was at 02:12 PM ----------



you forgot to activate it by adding bind dpad_up vstr 1

---------- Post added at 03:08 PM ---------- Previous post was at 02:49 PM ----------

i just had a thought. if it's this


it's going to go into set 2 or 1 before you have a chance to activate. so wouldn't it be

sorry i should have checked again before i submit my reply :/


lmfao, i was on my phone and i kept making errors ha.
on my laptop so i just sorted it out =D
04-20-2011, 03:01 PM #6
Default Avatar
Brad
Guest
Originally posted by xCorrey
lmfao, i was on my phone and i kept making errors ha.
on my laptop so i just sorted it out =D


ha ha. good job i spotted them out. i just lost my 1337 posts :(

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo