Raised This Month: $ Target: $400
 0% 

Block custom models [cs 1.6]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-09-2024 , 01:19   Re: Block custom models [cs 1.6]
Reply With Quote #2

There is a function for this type of thing called force_unmodified(). I use it on certain maps to prevent removing critical sprites that would give the cheater a significant advantage.

You do not have access to a client's file so you wouldn't even be able to get an MD5 or any other hash of their files. I'm not sure how the aforementioned function works but it's probably something built into the game.

I use the "force_exactfile" type and simply put in arrays of zeros for the second and third arguments ("{0,0,0}"). I have the function called in plugin_precache() but I can't remember if that is a requirement (I suspect that it is).
__________________

Last edited by fysiks; 01-09-2024 at 01:28.
fysiks 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 00:38.


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