Raised This Month: $ Target: $400
 0% 

get_user_info


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Damocles
Member
Join Date: Jan 2005
Old 01-21-2005 , 17:13   get_user_info
Reply With Quote #1

Hey All,

Im in the process of writing a plugin that will track the rate value that clients are using in a CS game.

The plugin will basically allow the admin to view all of the client rate values and automatically inform the admin if a users rates are below a specified value.

Im trying to use the get_user_info function to fetch:

rate
cl_rate
cl_cmdrate
cl_updaterate

similar to this code...

Code:
get_user_info(id, "rate", rate, 31) get_user_info(id, "cl_rate", rate, 31) get_user_info(id, "cl_cmdrate", rate, 31)

The only problem is the code fetches no values for cl_rate and cl_cmdrate

I can get rate and cl_updaterate, but the other two dont return a value. Ive tried a number of things and nothing works, can anyone give me some code which would return these values ??? Or tell me where im going wrong

Thanks in advance for any help

Damocles.
Damocles is offline
Revelation
Junior Member
Join Date: Jan 2005
Old 01-21-2005 , 19:29  
Reply With Quote #2

you cant get them, you can only get the variables which are displayed when you type "rcon user idnumber" in the console of your server. There may be some way, amx_execclient or something, but im not too sure. Ive been looking for a plugin like yours, was gonna write one. could i see your .sma file please? thanks
Revelation is offline
BlueRaja
Senior Member
Join Date: Nov 2004
Old 01-21-2005 , 23:49  
Reply With Quote #3

CS doesn't use cl_rate anyways
BlueRaja is offline
Send a message via AIM to BlueRaja Send a message via MSN to BlueRaja
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:20.


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