AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Bind Value (https://forums.alliedmods.net/showthread.php?t=99826)

tripc 08-09-2009 17:28

Bind Value
 
There is anyway to get from user the value of bind?

something like that:

PHP Code:

new bind1[32]
get_user_bind("shift",bind1,31)
console_print(id,"Your bind is: %s",bind1

or something like:
PHP Code:

public plugin_init() {
 
register_concmd("bind","bind_value",ADMIN_KICK)
}
 
public 
bind_value(id) {
 new 
arg1[32],arg2[32]
 
read_argv(1,arg1,31)
 
read_argv(2,arg2,31)
 
 
console_print(id,"Your KEY is: %s, and your BIND is: %s",arg1,arg2)
 
 return 
PLUGIN_CONTINUE


its possible?

Thanks in advance.

AntiBots 08-09-2009 17:53

Re: Bind Value
 
No.

tripc 08-09-2009 19:31

Re: Bind Value
 
and when user type "bind <key> <value>"
the server will get the bind and the key

that is possible?

Bugsy 08-09-2009 19:57

Re: Bind Value
 
You cannot retrieve a users key binds.


All times are GMT -4. The time now is 18:29.

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