Raised This Month: $ Target: $400
 0% 

call a function when certain cvar changes its value?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
supertrio17
Senior Member
Join Date: May 2020
Location: Serbia
Old 06-01-2020 , 14:01   Re: call a function when certain cvar changes its value?
Reply With Quote #1

Quote:
Originally Posted by OciXCrom View Post
client_PreThink is officialy THE WORST way you can do that. That function is called 100 times each second. The least you can do is use a 1 second task or longer.

For versions prior to 1.9, you need this module - https://forums.alliedmods.net/showthread.php?t=154642
The easier/better solution is of course updating to 1.9 IMO.
I was hoping to do it without that module, is there any way to do it without it?
supertrio17 is offline
Reply



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 16:56.


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