AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Getting a players CVARs? (https://forums.alliedmods.net/showthread.php?t=76474)

TJA 08-25-2008 07:26

Getting a players CVARs?
 
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?

Arkshine 08-25-2008 07:33

Re: Getting a players CVARs?
 
query_client_cvar

TJA 08-25-2008 08:54

Re: Getting a players CVARs?
 
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 08-25-2008 08:58

Re: Getting a players CVARs?
 
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?!?

Arkshine 08-25-2008 09:00

Re: Getting a players CVARs?
 
The latest version of Amxx is 1.8.1 , you should think to upgrade...

For metamod : 1.19

TJA 08-25-2008 09:22

Re: Getting a players CVARs?
 
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!

ConnorMcLeod 08-25-2008 12:23

Re: Getting a players CVARs?
 
For sure it won't work with cs1.5


All times are GMT -4. The time now is 03:09.

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