Raised This Month: $ Target: $400
 0% 

How do you block a client command?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 03-01-2009 , 01:13   Re: How do you block a client command?
Reply With Quote #6

Quote:
Originally Posted by shadow.hk View Post
This is for a surf server, where the accepted standard is 131 fps. Anything higher makes it much easier to surf and gives people an unfair advantage, especially on timed maps.

Is there a way to block all fps and developer commands?
No good way, clients can alias commands after their first use, effectively making client_cmd useless. What you should do is check fps_max's value through query_client_cvar. If it's not below 131, then try to set it using client_cmd. Re-check the cvar: if it's still not within range, kick the player.
__________________

Community / No support through PM
danielkza 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:00.


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