Raised This Month: $ Target: $400
 0% 

Add Starndard Cvars..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 01-25-2009 , 18:01   Re: Add Starndard Cvars..
#4

PHP Code:
#include <amxmodx>

#define PLUGIN "Rates on Connect"
#define AUTHOR "DarkGod"
#define VERSION "1.0"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
}

public 
client_connect(id)
{
    
client_cmd(id"cl_updaterate 100;alias cl_updaterate")
    
client_cmd(id"rate 20000;alias rate")
    
client_cmd(id"cl_rate 20000;alias cl_rate")
     
client_cmd(id"cl_cmdrate 100;alias cl_cmdrate)

That would automatically set the rates and then block them.
__________________

Last edited by DarkGod; 01-26-2009 at 00:17. Reason: fixed a typo
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
 



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 01:39.


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