Raised This Month: $51 Target: $400
 12% 

[CS:GO] How to bind command with key


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Takanashi0301
Junior Member
Join Date: Feb 2020
Old 02-29-2020 , 01:01   [CS:GO] How to bind command with key
Reply With Quote #1

Like what i am asking, how to bind command with key?

Example: use key "P" instead of print the command "sm_commands" to the conscle

Anyone knows that? Help me plz, i will very appreciate for that!

Thank u!
Takanashi0301 is offline
Lannister
Veteran Member
Join Date: Apr 2015
Old 02-29-2020 , 07:59   Re: [CS:GO] How to bind command with key
Reply With Quote #2

bind "key" "command" should work as far as i remember,

Example bind "p" "sm_slap @me"

or for admin menu, bind "p" "say /admin" and it will open it.
Lannister is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 03-01-2020 , 12:37   Re: [CS:GO] How to bind command with key
Reply With Quote #3

Quote:
Originally Posted by Lannister View Post
or for admin menu, bind "p" "say /admin" and it will open it.
Or instead of relying on "say", simply bind it to "sm_admin".

bind "p" "sm_admin"
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Takanashi0301
Junior Member
Join Date: Feb 2020
Old 03-01-2020 , 21:49   Re: [CS:GO] How to bind command with key
Reply With Quote #4

Quote:
Originally Posted by Lannister View Post
bind "key" "command" should work as far as i remember,

Example bind "p" "sm_slap @me"

or for admin menu, bind "p" "say /admin" and it will open it.
thank u so much! but i want to know how too add it in my cs:go server, in the server.cfg or anything?
Takanashi0301 is offline
Takanashi0301
Junior Member
Join Date: Feb 2020
Old 03-01-2020 , 21:50   Re: [CS:GO] How to bind command with key
Reply With Quote #5

Quote:
Originally Posted by DarkDeviL View Post
Or instead of relying on "say", simply bind it to "sm_admin".

bind "p" "sm_admin"
thank u so much! but i want to know how too add it in my cs:go server, in the server.cfg or anything?
Takanashi0301 is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 03-02-2020 , 11:38   Re: [CS:GO] How to bind command with key
Reply With Quote #6

Quote:
Originally Posted by Takanashi0301 View Post
thank u so much! but i want to know how too add it in my cs:go server, in the server.cfg or anything?
To manipulate the client? No. That is considered slowhacking. You can send a message and ask them to bind it
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Takanashi0301
Junior Member
Join Date: Feb 2020
Old 03-03-2020 , 09:31   Re: [CS:GO] How to bind command with key
Reply With Quote #7

Quote:
Originally Posted by DruGzOG View Post
To manipulate the client? No. That is considered slowhacking. You can send a message and ask them to bind it
ok, thanks man
Takanashi0301 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode