F5F Stay Refreshed Software PC Gaming No, you can't directly configure if statements or store variables through the CS:GO console.

No, you can't directly configure if statements or store variables through the CS:GO console.

No, you can't directly configure if statements or store variables through the CS:GO console.

D
Doppelbemme
Member
59
09-27-2016, 09:47 AM
#1
I’d like to utilize my num pad for keybinds in CSGO and switch them between gun modes and bot controls in a test server. To achieve this, saving a boolean variable and using an if statement to adjust bindings based on its state seems efficient. Alternatively, you could use a single button for rebinding, rather than two separate ones.
D
Doppelbemme
09-27-2016, 09:47 AM #1

I’d like to utilize my num pad for keybinds in CSGO and switch them between gun modes and bot controls in a test server. To achieve this, saving a boolean variable and using an if statement to adjust bindings based on its state seems efficient. Alternatively, you could use a single button for rebinding, rather than two separate ones.

L
LolaLouie
Senior Member
742
09-27-2016, 11:54 PM
#2
It seems the process is easier with CS; you should be able to perform the binding operation like this: [action]. Parentheses aren't clear here.
L
LolaLouie
09-27-2016, 11:54 PM #2

It seems the process is easier with CS; you should be able to perform the binding operation like this: [action]. Parentheses aren't clear here.

O
OneBugz
Junior Member
5
09-28-2016, 06:39 AM
#3
A simpler method is to build a configuration file within the CSGO directory that holds the updated keybindings, then run the executable console command to apply the changes in-game. To revert, simply execute the standard game configuration. Alternatively, you can utilize a sourcemod approach.
O
OneBugz
09-28-2016, 06:39 AM #3

A simpler method is to build a configuration file within the CSGO directory that holds the updated keybindings, then run the executable console command to apply the changes in-game. To revert, simply execute the standard game configuration. Alternatively, you can utilize a sourcemod approach.

U
umumu
Junior Member
1
09-28-2016, 07:22 AM
#4
For more info, visit: [https://example.com](https://example.com)
U
umumu
09-28-2016, 07:22 AM #4

For more info, visit: [https://example.com](https://example.com)

S
swade33458
Junior Member
11
09-28-2016, 11:38 PM
#5
I’ve grasped those steps before, but I needed something clearer. After researching, it matches exactly what I was looking for. Appreciate it!
S
swade33458
09-28-2016, 11:38 PM #5

I’ve grasped those steps before, but I needed something clearer. After researching, it matches exactly what I was looking for. Appreciate it!