Raised This Month: $ Target: $400
 0% 

Getting a players CVARs?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TJA
Junior Member
Join Date: May 2005
Old 08-25-2008 , 07:26   Getting a players CVARs?
Reply With Quote #1

Hello,
is there any way in AMXModX to read a players CVAR settings?

The amx_clexec Kommand does not give any output ...

I am specifically interested in the CVARs "cl_cmdrate" and "cl_cmdbackup" ...

Any idea?
TJA is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-25-2008 , 07:33   Re: Getting a players CVARs?
Reply With Quote #2

query_client_cvar
__________________
Arkshine is offline
TJA
Junior Member
Join Date: May 2005
Old 08-25-2008 , 08:54   Re: Getting a players CVARs?
Reply With Quote #3

Fantastic!
Thanx a bunch!

Tested it: Sadly, my "AMX Mod X 1.60" does not support this function.
:-(

It seems, i need to check if the newer version still runs on Counter-Strike 1.5
Already with 1.60, i had many problems to get everything running for CS 1.5 ...
TJA is offline
TJA
Junior Member
Join Date: May 2005
Old 08-25-2008 , 08:58   Re: Getting a players CVARs?
Reply With Quote #4

I checked this, the function as "added around Aug 11, 2005" and my AMX Mod X 1.60 was compiled at September 2005 ...

Checking "strings" on the dll, shows the following:

grep query_client_cvar strings_amxmodx_mm_i386.so
query_client_cvar

So, it is contained!

So, i will probably just need a newer MetaMod ...
Will write back

Edit: It seems, the "Metamod-P" version will be need, or does the "regular" version from www.metamod.org also contain the needed changes?!?

Last edited by TJA; 08-25-2008 at 09:01.
TJA is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-25-2008 , 09:00   Re: Getting a players CVARs?
Reply With Quote #5

The latest version of Amxx is 1.8.1 , you should think to upgrade...

For metamod : 1.19
__________________
Arkshine is offline
TJA
Junior Member
Join Date: May 2005
Old 08-25-2008 , 09:22   Re: Getting a players CVARs?
Reply With Quote #6

It seems, even with a new MetaMod-p the new function cannot work!

It is part of the newer hlds and thus, i cannot add it to a CS 1.5 server.

Sad thing :-(

Thanx anyway!
TJA is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-25-2008 , 12:23   Re: Getting a players CVARs?
Reply With Quote #7

For sure it won't work with cs1.5
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 03:09.


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