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

Internal ConVars Vs. External Cfg FIle?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Peoples Army
SourceMod Donor
Join Date: Mar 2007
Old 09-13-2009 , 01:50   Internal ConVars Vs. External Cfg FIle?
Reply With Quote #1

I'm making a plugin where Ill be expecting to use 100 Convars or more. My question, is there a better way then coding all them in my plugin? Would an external cfg file be better for this or would I still have to use convars in my plugin even with a external cfg file?

Also I'll need min & max settings on some convars, is that possable even from a cfg file?
__________________

Last edited by Peoples Army; 09-13-2009 at 02:01.
Peoples Army is offline
Dragonshadow
BANNED
Join Date: Jun 2008
Old 09-13-2009 , 09:32   Re: Internal ConVars Vs. External Cfg FIle?
Reply With Quote #2

You'll still have to have them all in the plugin and then just autoexec so it writes its own cfg file.

I mean I guess you could do it with keyvalues but whats the point? Theres nothing wrong with having gobs of cvars in a script (look at the various l4d upgrade/perk mods)
Dragonshadow is offline
Peoples Army
SourceMod Donor
Join Date: Mar 2007
Old 09-13-2009 , 12:04   Re: Internal ConVars Vs. External Cfg FIle?
Reply With Quote #3

OK, thats kind of what I thought , really I'd rather just code em in any ways . Thanks
__________________
Peoples Army 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 23:18.


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