RE: [hlcoders] using metamod to get client rates

2004-09-19 Thread voogru
I don't think you can get the cmdrate. -Original Message- From: Matt Judge [mailto:[EMAIL PROTECTED] Sent: Sunday, September 19, 2004 10:29 AM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] using metamod to get client rates voogru wrote: >Put something like this in ClientPut

Re: [hlcoders] using metamod to get client rates

2004-09-19 Thread Matt Judge
voogru wrote: Put something like this in ClientPutInServer. int rate = atoi(g_engfuncs.pfnInfoKeyValue(g_engfuncs.pfnGetInfoKeyBuffer(PLAYER_EDICT_ T),"rate")); However, if they change it while connected you might want to do something so it updates. Hi, Thanks for that, didn't realise it was so st

RE: [hlcoders] using metamod to get client rates

2004-09-17 Thread voogru
m: Brian A. Stumm [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 2:18 PM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] using metamod to get client rates On Thu, 16 Sep 2004, Jeffrey "botman" Broome wrote: > Matt Judge wrote: > > > I am guessing searching for anyth

Re: [hlcoders] using metamod to get client rates

2004-09-17 Thread Matt Judge
Brian A. Stumm wrote: I believe he means the CVAR "rate" which the client uses based on his internet connection speed but in case its ping and packet loss we are after try this: Aye, it is the clients CVAR setting I am after. I know AMX could pull some CVARs from the client, so I should probably

Re: [hlcoders] using metamod to get client rates

2004-09-16 Thread Jeffrey \"botman\" Broome
Matt Judge wrote: I am guessing searching for anything to with rates on google is a dead loss so I shall ask directly here. Can someone suggest a way that my metamod plugin can check client rates? By 'rates' I assume you are talking about ping time. Look in cdll_int.h at the hud_player_info_t struc