[L4D2] Auto Hold key when ProgressBar running
7 Attachment(s)
The plugin help play hold the key when do something active Process bar, dont need to hold to the end.
You can release this action by press any move button. |
Re: [L4d2] Hold key when ProgressBar running
- SMX not required. Delete.
- "bool CanPlayerswitchkey[MAXPLAYERS+1] = true;" is the wrong way to do this.. instead you would write " = { true, ... };" to fill every array index. Then you can delete the stuff in "OnPluginStart" since that's just a duplicate. - Same thing: "Handle Timerkey[MAXPLAYERS + 1] = INVALID_HANDLE;" you don't need to do this, it's already set to "null" aka "INVALID_HANDLE". - You should check "holderkey[client] != 0" and the other simple checks regards to "buttons == X" first before the other stuff in that if statement, like you check != 0 in the else statement. - Your "IsClientIncapacitated" has duplicated "client > 0 && client <= MaxClients". - Your timers should push through the clients UserID instead of client index, and validate within the timer callback by getting the client index from UserID. - Instead of the following, you can just use "delete Timerkey[client]" which does the same thing: PHP Code:
|
Re: [L4d2] Hold key when ProgressBar running
Quote:
|
Re: [L4d2] Auto Hold key when ProgressBar running
I have an assumption that it is precisely because of this plugin that when I press the Tab button to open the Tab Board, I have automatic shooting without pressing the left mouse button.
https://www.youtube.com/watch?v=CbRU...=RYANCOOLROUND In simple words, I press Tab, my machine gun shoots (And in some moments there is no sound). I hope I'm wrong and it's just a coincidence. But the problem began to notice just after installing the plugin. |
Re: [L4d2] Auto Hold key when ProgressBar running
Yes, it's definitely because of this plugin. While using the plugin, you will encounter the following problem with holding the Tab and Ctrl keys.
https://www.youtube.com/watch?v=URSB...=RYANCOOLROUND Once I uninstalled the plugin everything worked fine. |
Re: [L4d2] Auto Hold key when ProgressBar running
Quote:
https://youtu.be/20oH1Bu2Zk0 |
Re: [L4d2] Auto Hold key when ProgressBar running
Quote:
P.S.: At the same time, I also checked the first version of the plugin again to make sure that the problem from the video was due to the plugin. And yes, it was because of him. |
Re: [L4D2] Auto Hold key when ProgressBar running
Quote:
|
All times are GMT -4. The time now is 13:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.