Raised This Month: $ Target: $400
 0% 

Pass custom cvar at server launch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 11-10-2015 , 18:10   Re: Pass custom cvar at server launch
Reply With Quote #2

You should be able to set console variables in command line by writing:
Code:
+cvar_name cvar_value
// e.g.
+mp_startmoney 16000
but I am not sure if that counts in cvars registered by plugins with register_cvar(), I think it does.
Anyway, why don't you just put cvars in server.cfg?

Last edited by klippy; 11-10-2015 at 18:10.
klippy is offline
 



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 18:13.


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