Raised This Month: $ Target: $400
 0% 

call a function when certain cvar changes its value?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
shauli
Member
Join Date: Jun 2018
Old 06-01-2020 , 13:27   Re: call a function when certain cvar changes its value?
Reply With Quote #2

In newer amxx versions you can use hook_cvar_change, or alternatively bind_pcvar_* for certain purposes.

Last edited by shauli; 06-01-2020 at 13:29.
shauli 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 16:56.


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