Add review
Raiting:
Nick:
Text:
Send review

Key binding functions and commands

23.09.2016

Here it’s time to learn how to create some hotkeys for your hag functions because all hacks use keybindings, more or less.

This is the list of key names which we use in our configs engine so you need to use them if you want to use keys in configs.

esc
1
2
3
4
5
6
7
8
9
0
-
=
q
w
e
r
t
y
u
i
o
p
[
]
a
s
d
f
g
h
j
k
l
;
'
`
\
z
x
c
v
b
n
m
,
.
/
*
enter
ctrl
rctrl
alt
ralt
lshift
rshift
space
capslock
tab
f1
f2
f3
f4
f5
f6
f7
f8
f9
f10
f11
f12
pause
numlock
// Numlock keys, can be also used as kp_1, kp_2 and so on
kp_home
kp_uparrow
kp_pageup
kp_minus
kp_leftarrow
kp_5
kp_rightarrow
kp_plus
kp_end
kp_downarrow
kp_pagedown
kp_insert
kp_delete
kp_slash
kp_enter
printscreen
break
home
end
insert
delete
backspace
uparrow
pageup
leftarrow
rightarrow
downarrow
pagedown
//mouse keys
mouse1
mouse2
mouse3
mouse4
mouse5
mwheelright
mwheelleft
mwheelup
mwheeldown
Now let’s move forward and learn how to do a simple key bind – bind, gbind, notify.

notify

notify key "command"

Notify assigns some command to a key without blocking this key ingame, so if we will do the following notify:

notify insert "color.save"

This code will save hag’s color settings each time you will press insert in-game but it will also send insert in the game, so if you have something bound for insert there – it will work as well, the good example of this is also.

notify mouse2 "bot.aim 1"

This will activate aimbot in the game and also will send right mouse button in-game and the weapon will zoom in (if you have this).

bind

bind key command

Same as notify, but it blocks the key sending ingame, so any “bind” key will not be sent to the game when you will press it.

gbind

bind key command

Same as bind, in general it has only one use – this hotkey works while hag UI is up, default configs have gbind binds for settings saving and gbind is also used to get the hags menu up.

gbind insert gui.toggle

This code makes hags UI appear when you press insert.

Don’t worry that you don’t know the command names, they are explained in the game guides and here. You can also check them by your own in configs and in sometimes they will be a very obvious thing.

Some examples

I guess let’s take a look on them using the existing configs. We will take a small part from GTA 5 config autoexec.cfg file.

gbind insert gui.toggle
alias +aim "bot.aim 1"
alias -aim "bot.aim 0"
notify mouse2 +aim
bind kp_delete "save"

Gbind – we already know, shows hags UI. notify mouse2 +aim makes the value of bot.aim to switch to 1 when you hold mouse2 key and to go back to 0 when you release the key, this will be explained in further settings such as Hold script and Toggle script and others.

Configs tutorials

Back to articles list