Raised This Month: $ Target: $400
 0% 

Quostion bout changing cvar


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
JocAnis
Veteran Member
Join Date: Jun 2010
Old 03-19-2011 , 14:45   Quostion bout changing cvar
Reply With Quote #1

hi, is there any event (or whatever) which is called when any cvar is changed?

i know one (really) bad solutions: with

PHP Code:
public plugin_init()
{
...
set_tasktime"cvar_checker")
}
public 
cvar_checker()
{
         if( 
get_pcvar_numcvar ) <= cvar_num )
                 
message"warning cvar is too small" //or what ever..

thanks in advance
JocAnis 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 14:34.


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