Raised This Month: $ Target: $400
 0% 

Blocking client side cvar ...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 10-17-2004 , 00:49  
Reply With Quote #2

Interesting, I'd never seen this before. That could be a problem. But it's pretty simple to block this actually. It isn't really a client side cvar (which I don't believe are blockable anyways), just a client command that does come in contact with the server, so it is indeed blockable.

This should do the trick:
Code:
#include <amxmodx> public plugin_init() {         register_clcmd("fullupdate", "cmd_fullupdate") } public cmd_fullupdate(id) {     return PLUGIN_HANDLED }

All you really needed to do is register the command like any other client command and return PLUGIN_HANDLED to block. I just tested this out and it seems to block it. Hope this helps.
DS is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:28.


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