Raised This Month: $ Target: $400
 0% 

Client Rate Changer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hellmaster
Member
Join Date: Apr 2008
Old 06-02-2008 , 04:00   Client Rate Changer
Reply With Quote #1

I forgot who it was, but someone asked for a plugin to correct someones rates if they get messed up or something, to change them back to normal. This plugin will allow you to reset someones rates to a normal setting using the console command amx_reset_rates. So here ya go

Also, please let me know if this plugin works ok or not. This is only like my third plugin.

I have removed the scripting that executes the plugin automatically
Attached Files
File Type: sma Get Plugin or Get Source (clientratechanger.sma - 1129 views - 938 Bytes)

Last edited by Hellmaster; 06-17-2008 at 20:09.
Hellmaster is offline
CubanSpike
Member
Join Date: Mar 2008
Old 06-05-2008 , 08:53   Re: Client Rate Changer
Reply With Quote #2

Hi,

I'm interested in trying this plugin--quick question though:

Where can we specify the "normal settings" that we're resetting the client to?
CubanSpike is offline
Dr. Jan Itor
Veteran Member
Join Date: Mar 2008
Location: there.
Old 06-05-2008 , 09:01   Re: Client Rate Changer
Reply With Quote #3

Quote:
Originally Posted by CubanSpike View Post
Hi,
Quote:
Originally Posted by CubanSpike View Post

I'm interested in trying this plugin--quick question though:

Where can we specify the "normal settings" that we're resetting the client to?
in the .sma client_cmd(player, "fps_max 100.0")
client_cmd(player, "rate 25000")
client_cmd(player, "cl_updaterate 101")
client_cmd(player, "cl_cmdrate 101")
client_cmd(player, "ex_interp 0.01")

but theres already a far more simple plugin that changes cvars that has an .ini file

edit:
heres 1 with a .ini file http://forums.alliedmods.net/showthr...t=CVAR+Checker
__________________

Last edited by Dr. Jan Itor; 06-05-2008 at 09:04.
Dr. Jan Itor is offline
CubanSpike
Member
Join Date: Mar 2008
Old 06-05-2008 , 11:46   Re: Client Rate Changer
Reply With Quote #4



Thank you for your information. Very helpful. Much easier.
CubanSpike is offline
Hellmaster
Member
Join Date: Apr 2008
Old 06-05-2008 , 19:29   Re: Client Rate Changer
Reply With Quote #5

Well, I have just started doing plugins, so I will eventually learn to make CVARS and stuff
Hellmaster is offline
Nemraiku
Member
Join Date: Jun 2008
Old 06-15-2008 , 19:32   Re: Client Rate Changer
Reply With Quote #6

I like the plugin, also Hellmaster is a friend of mine, he wanted to know in what ways could he make this plugin better.
Nemraiku is offline
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 19:08.


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