Detecting scripts and user configs
Is it possible to read a usersconfig for scripts?
For instance.. if the user has a button bound to say bind "o" "+sparta" and the script spams a load of say commands ect. Is the +sparta client side? and the say commands sent out the only readables? Is it possible to read this +sparta command the client used? Plus can u detect whatever command the player just used (say, +attack) and record it? thanks in advanced! |
Re: Detecting scripts and user configs
Quote:
Fakemeta: Code:
if(pev(id, pev_button) & IN_ATTACK)) |
Re: Detecting scripts and user configs
Quote:
He just showed how to detect if the player was attacking... Code:
|
Re: Detecting scripts and user configs
so no way of reading +scripts
or configs? |
Re: Detecting scripts and user configs
Hey guys why don't you start your own thread about it? :P
To answer your question, Zamma, yeah you can catch it. register_clcmd( "+sparta", "hook_sparta" ); I don't know if you can block it though since it's client-sided....but at least you can send him the opposite commands to set him back to normal. |
Re: Detecting scripts and user configs
Wilson - does that mean you need to know the script name?
What happens for instant if u just want to record whatever client command they use? If your just checking for scripts... |
Re: Detecting scripts and user configs
Code:
Obviously it's not gonna catch certain commands that are strictly client-side and don't get sent to the server. |
Re: Detecting scripts and user configs
what about rate commands? - can it detect rate commands / slot changing commands ?
|
Re: Detecting scripts and user configs
slot changing commands, no. But to counter it, you can detect the weapon_glock commands, etc., which the slot commands actually activate.
rate commands, I honestly don't know. Try it and see. |
| All times are GMT -4. The time now is 01:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.