Raised This Month: $ Target: $400
 0% 

Add Starndard Cvars..


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 01-25-2009 , 11:06   Add Starndard Cvars..
#1

Hey,

By new upadte ( v. 48 ) are all the good Cvars blocked.all the Players on my server are using Lowrates....idont know why they dont change this.
cl_updaterate is blocked on 100
cl_rate & rate on 20000

Code:
#1 N1cO STEAM_0:1:13752742 30000 101  
#2 my.gnt64*TiEsto STEAM_0:1:15852846 25000 101  
#3 LuQ STEAM_0:1:16910457 8000 101  
#4 Lukki.#memory-of.merleSHAZ STEAM_0:0:15609141 25000 101  
#5 CPL.1337 Member-suche STEAM_0:0:18756926 25000 101  
#6 .#l!v3sUxX^ STEAM_0:0:1663657 7500 101  
#7 V+NrG STEAM_0:0:17432494 30000 18  
#8 Sex on the Beach ! :D STEAM_0:1:9940723 25000 101  
#9 AUT | KeksDose STEAM_0:1:3456670 20000 80  
#10 Eisbaer STEAM_0:0:19795224 25000 101  
#11 Real@clansearch STEAM_0:0:20741884 25000 101  
#12 _v4L1uM# STEAM_0:0:9958500 20000 80  
#16 Mr. Floppy<3Koeks STEAM_0:0:9264928 21000 100.05  
#17 dabo ) STEAM_0:1:17720255 25000 101  
#19 Cs-Rockers.de | One STEAM_0:0:19154950 30000 100  
#20 TrAsHEr STEAM_0:0:2075
i want to add standard rates on all Players. but how? on join, the should become Example : cl_updaterate 100 when they have more then 100 or lower 50. :-(

By changing the Cvar, player should be kicked or maybe a message in chat that player changed the standard Cvars

EDIT : SRY WRONG TOP. PLEASE MOVE TO REQUEST. TY
__________________

Last edited by One; 01-25-2009 at 11:19.
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
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 01-25-2009 , 11:55   Re: Add Starndard Cvars..
#2

http://forums.alliedmods.net/showthread.php?p=159580
__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 01-25-2009 , 12:09   Re: Add Starndard Cvars..
#3

Quote:
Originally Posted by Sn!ff3r View Post
Hey,

Ty sniffer but i wannt to just add Cvars & nothing more. i dont need anys*it Cvars or ... just on join add the cvars.
i dont wanna to use my CPU 4 a mini plug. u know what i mean?
__________________
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
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
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 01-26-2009 , 02:21   Re: Add Starndard Cvars..
#5

Hey,

Thanks & Done.i added the messages & kick/ban function on this & its running perfectley.
__________________
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
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 01-26-2009 , 02:42   Re: Add Starndard Cvars..
#6

Alright, glad I could help.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-26-2009 , 10:10   Re: Add Starndard Cvars..
#7

Slowhacking is not allowed
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Closed Thread


Thread Tools
Display Modes

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