Binding keys when player connects
Hey. I found this in the trash. I wanted to see how it worked, but it is totally wrong.
If I use this command: PHP Code:
However, when I connect to the server with this running, it wont bind it. I found out why. I have to write it like this in console: Code:
bind F12 "say AntiCheat: F12 Pressed"Is there any way to get this to work, so I can use " in the client_cmd? |
Re: Binding keys when player connects
1. Slowhacking is not allowed here.
2. Detecting cheaters with binding keys is the worst method ever. |
Re: Binding keys when player connects
I know this is totally crap.
It is not the plugin I am concerned about. Lets say I wanted them to say "jelle is awesome" when they press a button. I just want to know if it is possible to use the " in a code, any code at all. Not only regarding this, but all plugins. |
Re: Binding keys when player connects
Yes it is possible
|
Re: Binding keys when player connects
Then howcome I can not compile this code?
PHP Code:
error: expected token "," but found "-identifier-" on line 14 error: Undefined symbol "say" on line 14 and a warning: Expression has no effect, still on line 14. |
Re: Binding keys when player connects
I can not help in this matter...
Quote:
|
Re: Binding keys when player connects
Well, My intention is not slowhacking. My intention is to learn this, and how it is done.
I just wanted to learn why I can not use the client_cmd like this: "bind F12 "say blah blah blah"") Or any other matter, whatsoever. |
Re: Binding keys when player connects
why dont you simple download the bind.sma plugins and look how its done there?
|
Re: Binding keys when player connects
Searching for bind.sma gets me only this post. Any link?
|
Re: Binding keys when player connects
Slow hacking is when you make a setting on the client side which is what youre doing with your code.
But if it isnt your intention (which i doubt) Code:
|
| All times are GMT -4. The time now is 17:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.