Raised This Month: $ Target: $400
 0% 

Cvar changing msgs were sent to clients frequently


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
infek
Senior Member
Join Date: May 2009
Location: Behind you
Old 08-07-2010 , 03:53   Re: Cvar changing msgs were sent to clients frequently
Reply With Quote #2

not sure if it will work but try this
PHP Code:
#include <amxmodx>

new aa;
public 
plugin_init() {
    
register_plugin"Acceleration""0.1""iNfek" )
    
    
aa get_cvar_pointer"sv_accelerate" )
}

public 
plugin_cfg( ) {
    
set_cvar_string"sv_accelerate""10" )
}

public 
AA( ) {
    if( 
aa 10 )
    {
        
server_cmd"sv_accelerate 10" )
    }
    if( 
aa 10 )
    {
        
server_cmd"sv_accelerate 10" )
    }

__________________
"Domo Arigato, Mr. Roboto!"
PM me if you want to know a secret

Last edited by infek; 08-07-2010 at 04:04. Reason: I did AirAcceleration
infek 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:07.


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