Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to bind keys in Garry's Mod to Commands

#1
This is very simple and a lot of people ask me how to do it.


First.) pull up your console by pressing ~ (tilde) in game.
Second.) Use this format to bind the key you want.
Bind (key you would like) "say (what you want to say or !/command)"

Make sure to put quotes "around the text and /command"
Won't work without  it.


Here is how i binded one of my keys:

Bind x "say !noclip"
or
bind x "ulx noclip"
^^This doesn't show up in chat, but shows up in console. All other commands work like that but I personally would not use the say command just use ulx command.
So I can easy noclip without typing it out.

also did ulx command, xgui

Bind b "say !xgui"
or
bind b "ulx menu"
^^This makes it so people cant see that you are clicking your bind, only shows in console.
Pull up the xgui on the fly ;)

Alright guys, hope that helped.
[Image: 8OHl5AB.png]
Reply

#2
Thanks for the info! helped alot!
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Garry's Mod (GMOD) October 2018 Update Crash fixes and minor improvements xSicKx 0 849 12-05-2018, 06:34 PM
Last Post: xSicKx
  Garry's Mod basic / stock / default Playermodel list |GMOD xSicKx 1 1,880 12-04-2018, 05:39 AM
Last Post: Brooke Polglaze
  ULX Commands for Garry's Mod / GMOD | Full List xSicKx 0 20,061 08-29-2016, 10:20 AM
Last Post: xSicKx

Forum Jump:

[-]
Upcoming Events

[-]
Discord

[-]
Latest Threads
News - Bedrock: 1.16.1 Hotfix (Includes ...
Last Post: xSicKxBot
Today 04:37 PM
» Replies: 0
» Views: 1
Xbox Wire - Celebrate Five Years of Rock...
Last Post: xSicKxBot
Today 04:37 PM
» Replies: 0
» Views: 1
News - Ubisoft executives resign amid se...
Last Post: xSicKxBot
Today 04:37 PM
» Replies: 0
» Views: 1
News - Get a job: Join Disbelief as a Se...
Last Post: xSicKxBot
Today 04:37 PM
» Replies: 0
» Views: 1
[Tut] The World’s Most Concise Python Ch...
Last Post: xSicKxBot
Today 11:53 AM
» Replies: 0
» Views: 1
(Indie Deal) Portal Knights, Mr. DRILLER...
Last Post: xSicKxBot
Today 11:53 AM
» Replies: 0
» Views: 2
Dust3D Modeling Application
Last Post: xSicKxBot
Today 11:53 AM
» Replies: 0
» Views: 2
News - Rocket Arena Season 1 Adds New Ch...
Last Post: xSicKxBot
Today 11:51 AM
» Replies: 0
» Views: 1
Mobile - Nier Reincarnation is getting a...
Last Post: xSicKxBot
Today 05:38 AM
» Replies: 0
» Views: 1
AppleInsider - Rumor: New Apple app for ...
Last Post: xSicKxBot
Today 05:38 AM
» Replies: 0
» Views: 1

[-]
Twitter

[-]
Sponsored
Get the Deal of the Week at RefurBees.com

Copyright © SickGaming.net 2012-2019