Login to ZARP
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: [GUIDE] Advanced Binds using config execs.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378822

Intro

So recently with the increasing demand for binds in order to equip things such as the Terroriser Outfit a lot of players have been trying to find a way to do so, this has been proven to be difficult due to the fact that binds don't allow you to nest quotes. This means that you can't do something such as the example below due to it making you put quotes within quotes.
bind "_inven use "Terroriser Outfit""
A few people figured out a way to do this recently and decided to try and sell the method of doing so but that's hardly fair so here's the method of doing it.


Tutorial

For this example I'll show you how to make a bind for the Terroriser Outfit, this works just the same for any other item.

First of all navigate to the following folder:
GarrysMod\garrysmod\cfg

In that folder create a .cfg file and put whatever command you'll want to run in order to equip your item and save the file with any given name as long as it's still a .cfg file.
In my case that command would be:
_inven use "Terroriser Suit"

I named my file terroriser.cfg, this means that I'll need to remember that name for the actual bind once I'm ingame.
Once you're ingame and you've saved your .cfg open your console and bind any key you wish to the following.
exec <filename>
in my case I would do
bind "F11" "exec terrorsier"


This bind successfully fixes the issue of not being able to bind with nested quotes via console, feel free to reply with futher questions here if you don't understand something or if you require help.
  • Legendary Soldier
  • Legendary Soldier's Avatar
  • Offline
  • Former Community Manager
  • ZARP VIP Gold Badge
  • Still alive bois
  • Posts: 2602
  • Thanks received: 1430
  • Karma: 61
Former Community Manager - Current Bartender
Login or register to post a reply.
The following user(s) said Thank You: Nafe, Clarky, Seized, Kodi, el une spodermun and 1 more...

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378837

Thanks for this Tyler this can help in game role play as well as some admins the would like to make a bind that cloakes them when they no lip then uncloaks when they stop
  • Luan
  • Luan's Avatar
  • Offline
  • Legendary Member
  • ZARP VIP Gold Badge
  • Ex- Surf Owner
  • Posts: 3193
  • Thanks received: 488
  • Karma: 26





EX- TS3 Staff
EX- SSRP Head Admin
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378844

@ Luan
bind key "noclip; say /uncloak"
this works
  • Ashur
  • Ashur's Avatar
  • Offline
  • Mythical Boarder
  • ZARP VIP
  • Legendary Member
  • Posts: 5568
  • Thanks received: 1276
  • Karma: -160
Last Edit: 7 years 8 months ago by Ashur.
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378858

Ashur wrote:
@ Luan
bind key "noclip; say /uncloak"
this works

It's not a toggle
  • Luan
  • Luan's Avatar
  • Offline
  • Legendary Member
  • ZARP VIP Gold Badge
  • Ex- Surf Owner
  • Posts: 3193
  • Thanks received: 488
  • Karma: 26





EX- TS3 Staff
EX- SSRP Head Admin
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378893

I actually didn't know how to do this, really helpful! Thanks Tyler.
  • Aria
  • Aria's Avatar
  • Offline
  • Gold Boarder
  • ZARP VIP
  • kris and ali are studs
  • Posts: 1791
  • Thanks received: 411
  • Karma: 13



ApeX. Pennybomber, Muhammed Ali, Kodi, Roy Harper, Helari, Kris Dude, BiWx, Micky, Strafing, Grumpy, Gamesys, Klaprefot, B4nQk0k, Seraphian, AceInsidious, VeGoVeVo
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378894

RIP off DeadMonstors Work imo
  • nada
  • nada's Avatar
  • Offline
  • Gold Boarder
  • ZARP VIP
  • Phoenix, AZ.
  • Posts: 1741
  • Thanks received: 278
  • Karma: -12
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378898

Just pulled a morgan. Now everyones gonna be doing it.
  • TimeForPug
  • TimeForPug's Avatar
  • Offline
  • Adept Boarder
  • ZARP VIP Golden Blue Badge
  • Posts: 6768
  • Thanks received: 1213
  • Karma: -15
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378904

How can i bind 2 or more guns on 1 bind?
  • RFlex
  • RFlex's Avatar
  • Offline
  • Legendary Member
  • ZARP VIP
  • whats up
  • Posts: 5684
  • Thanks received: 997
  • Karma: -60
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378907

ЯFlex wrote:
How can i bind 2 or more guns on 1 bind?
  • khaitam2001
  • khaitam2001's Avatar
  • Offline
  • Expert Boarder
  • ZARP VIP Golden Blue Badge
  • The truth lies in darkness
  • Posts: 1515
  • Thanks received: 123
  • Karma: -21

Resigned deathrun admin
Resigned SSRP admin
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378912

Thanks For this Tyler. :)
  • _SadMan_
  • _SadMan_'s Avatar
  • Offline
  • Expert Boarder
  • ZARP VIP
  • .
  • Posts: 917
  • Thanks received: 83
  • Karma: 2
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378916

Luan wrote:
Thanks for this Tyler this can help in game role play as well as some admins the would like to make a bind that cloakes them when they no lip then uncloaks when they stop

alias "cloak" "on"
alias "on" "say /cloak; alias cloak off"
alias "off" "say /uncloak; alias cloak on"
bind "v" "cloak;noclip"
  • EdenB
  • EdenB's Avatar
  • Offline
  • Senior Boarder
  • ZARP VIP
  • Posts: 355
  • Thanks received: 43
  • Karma: -9
Brother Ryan wrote:
I did do 2 F1s
- Brother Ryan , 2k15
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378917

ЯFlex wrote:
How can i bind 2 or more guns on 1 bind?
bind t "_inven use m9k_psg1;_inven use m9k_svu"
  • EdenB
  • EdenB's Avatar
  • Offline
  • Senior Boarder
  • ZARP VIP
  • Posts: 355
  • Thanks received: 43
  • Karma: -9
Brother Ryan wrote:
I did do 2 F1s
- Brother Ryan , 2k15
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378919

Tyler Durden wrote:
Intro

So recently with the increasing demand for binds in order to equip things such as the Terroriser Outfit a lot of players have been trying to find a way to do so, this has been proven to be difficult due to the fact that binds don't allow you to nest quotes. This means that you can't do something such as the example below due to it making you put quotes within quotes.
bind "_inven use "Terroriser Outfit""
A few people figured out a way to do this recently and decided to try and sell the method of doing so but that's hardly fair so here's the method of doing it.


Tutorial

For this example I'll show you how to make a bind for the Terroriser Outfit, this works just the same for any other item.

First of all navigate to the following folder:
GarrysMod\garrysmod\cfg

In that folder create a .cfg file and put whatever command you'll want to run in order to equip your item and save the file with any given name as long as it's still a .cfg file.
In my case that command would be:
_inven use "Terroriser Suit"

I named my file terroriser.cfg, this means that I'll need to remember that name for the actual bind once I'm ingame.
Once you're ingame and you've saved your .cfg open your console and bind any key you wish to the following.
exec <filename>
in my case I would do
bind "F11" "exec terrorsier"


This bind successfully fixes the issue of not being able to bind with nested quotes via console, feel free to reply with futher questions here if you don't understand something or if you require help.

Just add the name of the .cfg file to autoexec.cfg so you don't have to execute it everytime in game
  • EdenB
  • EdenB's Avatar
  • Offline
  • Senior Boarder
  • ZARP VIP
  • Posts: 355
  • Thanks received: 43
  • Karma: -9
Brother Ryan wrote:
I did do 2 F1s
- Brother Ryan , 2k15
Last Edit: 7 years 8 months ago by EdenB.
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378920

EdenB wrote:
Tyler Durden wrote:
Intro

So recently with the increasing demand for binds in order to equip things such as the Terroriser Outfit a lot of players have been trying to find a way to do so, this has been proven to be difficult due to the fact that binds don't allow you to nest quotes. This means that you can't do something such as the example below due to it making you put quotes within quotes.
bind "_inven use "Terroriser Outfit""
A few people figured out a way to do this recently and decided to try and sell the method of doing so but that's hardly fair so here's the method of doing it.


Tutorial

For this example I'll show you how to make a bind for the Terroriser Outfit, this works just the same for any other item.

First of all navigate to the following folder:
GarrysMod\garrysmod\cfg

In that folder create a .cfg file and put whatever command you'll want to run in order to equip your item and save the file with any given name as long as it's still a .cfg file.
In my case that command would be:
_inven use "Terroriser Suit"

I named my file terroriser.cfg, this means that I'll need to remember that name for the actual bind once I'm ingame.
Once you're ingame and you've saved your .cfg open your console and bind any key you wish to the following.
exec <filename>
in my case I would do
bind "F11" "exec terrorsier"


This bind successfully fixes the issue of not being able to bind with nested quotes via console, feel free to reply with futher questions here if you don't understand something or if you require help.

Just add the name of the .cfg file to autoexec.cfg so you don't have to execute it everytime in game
What? How
  • RFlex
  • RFlex's Avatar
  • Offline
  • Legendary Member
  • ZARP VIP
  • whats up
  • Posts: 5684
  • Thanks received: 997
  • Karma: -60
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378921

So how would this work with a JuggernautSuite?
  • Pegasus
  • Pegasus's Avatar
  • Offline
  • Expert Boarder
  • ZARP VIP
  • CEO of Pegasus Corporation
  • Posts: 1333
  • Thanks received: 317
  • Karma: 38
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378923

PegasusPrimus wrote:
So how would this work with a JuggernautSuite?
Simply make a cfg file and add inside it this bind f "_inven use "gencorp juggernaut suit""
Then place the file on gmods cfg files.
  • RFlex
  • RFlex's Avatar
  • Offline
  • Legendary Member
  • ZARP VIP
  • whats up
  • Posts: 5684
  • Thanks received: 997
  • Karma: -60
Last Edit: 7 years 8 months ago by RFlex.
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378926

ЯFlex wrote:
EdenB wrote:
Tyler Durden wrote:
Intro

So recently with the increasing demand for binds in order to equip things such as the Terroriser Outfit a lot of players have been trying to find a way to do so, this has been proven to be difficult due to the fact that binds don't allow you to nest quotes. This means that you can't do something such as the example below due to it making you put quotes within quotes.
bind "_inven use "Terroriser Outfit""
A few people figured out a way to do this recently and decided to try and sell the method of doing so but that's hardly fair so here's the method of doing it.


Tutorial

For this example I'll show you how to make a bind for the Terroriser Outfit, this works just the same for any other item.

First of all navigate to the following folder:
GarrysMod\garrysmod\cfg

In that folder create a .cfg file and put whatever command you'll want to run in order to equip your item and save the file with any given name as long as it's still a .cfg file.
In my case that command would be:
_inven use "Terroriser Suit"

I named my file terroriser.cfg, this means that I'll need to remember that name for the actual bind once I'm ingame.
Once you're ingame and you've saved your .cfg open your console and bind any key you wish to the following.
exec <filename>
in my case I would do
bind "F11" "exec terrorsier"


This bind successfully fixes the issue of not being able to bind with nested quotes via console, feel free to reply with futher questions here if you don't understand something or if you require help.

Just add the name of the .cfg file to autoexec.cfg so you don't have to execute it everytime in game
What? How
Actually, go to C:\Program Files\Steam\steamapps\common\GarrysMod\garrysmod\cfg and find config.cfg and add
exec "the name of your config goes here"
  • EdenB
  • EdenB's Avatar
  • Offline
  • Senior Boarder
  • ZARP VIP
  • Posts: 355
  • Thanks received: 43
  • Karma: -9
Brother Ryan wrote:
I did do 2 F1s
- Brother Ryan , 2k15
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378927

Instead of making a config just go to the game and do this -
assuming we talk about anything with spaces in it

alias "jugger" "Juggernaut suit or however it is called"
bind "key" "_inven use jugger"
  • EdenB
  • EdenB's Avatar
  • Offline
  • Senior Boarder
  • ZARP VIP
  • Posts: 355
  • Thanks received: 43
  • Karma: -9
Brother Ryan wrote:
I did do 2 F1s
- Brother Ryan , 2k15
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378937

Thanks JoeDuggs helped me out Ingame!
  • Pegasus
  • Pegasus's Avatar
  • Offline
  • Expert Boarder
  • ZARP VIP
  • CEO of Pegasus Corporation
  • Posts: 1333
  • Thanks received: 317
  • Karma: 38
Login or register to post a reply.

[GUIDE] Advanced Binds using config execs. 7 years 8 months ago #378944

wow thx for the guide, i didnt even know that u can bind for suit xD
  • Hardcoreknight
  • Hardcoreknight's Avatar
  • Offline
  • Expert Boarder
  • ZARP VIP
  • When u see a nuclear bomb, don't touch it
  • Posts: 860
  • Thanks received: 94
  • Karma: -3

EX-SSRP moderator

Login or register to post a reply.
  • Page:
  • 1
  • 2
Moderators: JoshuaIsGreat
Time to create page: 0.160 seconds

127 PLAYERS ONLINE

Connect to server View Gametracker DarkRP 1
7/127
online
Connect to server View Gametracker Deathrun
0/40
online
Connect to server View Gametracker TTT
0/47
online
Connect to server View Gametracker Bhop
0/32
online
Connect to server View Gametracker Surf
0/32
online
Connect to server View Gametracker Prop Hunt
0/42
online
Connect to server View Gametracker Sandbox
0/42
online
Connect to server Discord
120/789
online
Top