Raised This Month: $ Target: $400
 0% 

interp changer..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-14-2009 , 10:39   Re: interp changer..
Reply With Quote #1

PHP Code:
/* Plugin generated by notatnik */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Interp"
#define VERSION "1.0"
#define AUTHOR "FiFiX"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
}

public 
client_connect(id)
{
    if (!
is_user_bot(id) && !is_user_hltv(id))
    {
        
query_client_cvar(id"ex_interp""interp");
    }
}

public 
interp(id, const cvar[], const value[])

    new 
Float:f_value str_to_float(value);
    if(
f_value <= 0.01 || f_value >= 0.06)
    {
        
console_cmd(id,"rate 20000; alias rate");
        
server_cmd("wait");
        
console_cmd(id,"cl_rate 20000; alias cl_rate");
        
server_cmd("wait");
        
console_cmd(id,"cl_cmdrate 100; alias cl_cmdrate");
        
server_cmd("wait");
        
console_cmd(id,"cl_updaterate 100; alias cl_updaterate");
        
server_cmd("wait");
        
console_cmd(id,"ex_interp 0.03; alias ex_interp");
        
server_cmd("wait");
    }

??
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
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 02:26.


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