AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Binding an cmd on the client (https://forums.alliedmods.net/showthread.php?t=220347)

vamppa 07-09-2013 20:19

Binding an cmd on the client
 
Hello,

Is it possible to bind an 2nd command to the same key for an client?
lets say I got

PHP Code:

bind ctrl "+jump" 

could i add +duck to that?
PHP Code:

bind ctrl "+jump;+duck" 

without knowing what the first command may be.
so the server would need to do some like
PHP Code:

bind ctrl ".....;+duck" 

where .... is just an general field the plugin auto skips representing the clients 1st command.

Goal: I want to create some preset for new players that join
or for other people to try out by asking them first.
once the client agrees it gets set.

ChileScripting 07-09-2013 20:30

Re: Binding an cmd on the client
 
In the steamcmd command bind is blocked ....

fysiks 07-09-2013 21:11

Re: Binding an cmd on the client
 
Binding player keys is no longer supported by Valve in the latest versions of HL1 games and therefore is also not supported there.

devilicioux 07-10-2013 07:23

Re: Binding an cmd on the client
 
Quote:

Originally Posted by vamppa (Post 1987298)
Hello,

Is it possible to bind an 2nd command to the same key for an client?
lets say I got

PHP Code:

bind ctrl "+jump" 

could i add +duck to that?
PHP Code:

bind ctrl "+jump;+duck" 

without knowing what the first command may be.
so the server would need to do some like
PHP Code:

bind ctrl ".....;+duck" 

where .... is just an general field the plugin auto skips representing the clients 1st command.

Goal: I want to create some preset for new players that join
or for other people to try out by asking them first.
once the client agrees it gets set.

Why do you want to mess up with client settings ?
Its Slowhacking and is not supported here.


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

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