Raised This Month: $51 Target: $400
 12% 

config.cfg checker?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zippy
Junior Member
Join Date: Jul 2004
Old 04-16-2010 , 18:32   config.cfg checker?
Reply With Quote #1

I would like to request the ability to check players config for scripts.

If it is possible.

Regards,
zippy
__________________
zippy is offline
Sammy-ROCK!
Senior Member
Join Date: Jun 2008
Location: Near Mrs.Lag
Old 04-16-2010 , 20:29   Re: config.cfg checker?
Reply With Quote #2

Unpossible without a plugin running on client side. (Sourcemod is server side)
Sammy-ROCK! is offline
thejuice027
Senior Member
Join Date: Dec 2009
Old 04-16-2010 , 23:19   Re: config.cfg checker?
Reply With Quote #3

I thought there were ways of breaking scripts anyways, IE: disabling the wait command.
__________________
Steam_id: thejuice027
thejuice027 is offline
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 04-17-2010 , 00:25   Re: config.cfg checker?
Reply With Quote #4

Quote:
Originally Posted by thejuice027 View Post
I thought there were ways of breaking scripts anyways, IE: disabling the wait command.
Not all scripts use the wait command
noodleboy347 is offline
atom0s
Senior Member
Join Date: Jul 2009
Old 04-17-2010 , 12:57   Re: config.cfg checker?
Reply With Quote #5

You can query a client for cvars using:
QueryClientConVar


Keep in mind, you have to give it the convar you wish to query from the client, meaning you can't obtain information without knowing what you want to know before hand.

There is a small example shown on the API documentation site here:
http://docs.sourcemod.net/api/
atom0s 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 11:34.


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