Completely remove +Use
Hi. I want to completely remove +use ability for players.
Of course I've tried to search but it can't find me a word +use due to that word's shortness. I've tried register_clcmd(), check IN_USE but unsuccessfuly. I could do that with Ham_Use but I need all func_ list for that. |
Re: Completely remove +Use
on client_connect use client_cmd("unbind e")
then on client_diconnect use client_cmd("bind e +use") ? EDIT: Unless they dont have use binded to "e"... :( |
Re: Completely remove +Use
just that won't stop them from rebinding it but i guess stopping that wouldn't be to hard |
Re: Completely remove +Use
Should work.
Code:
|
Re: Completely remove +Use
PHP Code:
|
Re: Completely remove +Use
Thanks, Jon, it works.
Quote:
|
Re: Completely remove +Use
Well, Jon already gave me working code but still thanks for what you do.
|
Re: Completely remove +Use
I've added a message that is printed before the FMRES_SUPERCEDE and when I connect to server it prints the message infinitely (like 10 times in sec), I didn't even press +Use button.
I believe it can cause lag. Any ideas how to solve it? This is what I use: PHP Code:
|
Re: Completely remove +Use
I'd use this, but I might of messed something up.
Code:
|
Re: Completely remove +Use
Doesn't work. Can anyone help? I'm really out of ideas...
|
| All times are GMT -4. The time now is 05:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.