Author Topic: Variables Save "cvar_set"  (Read 2119 times)

ic3y

  • Committee Member
  • Autococker
  • Posts: 1398
Variables Save "cvar_set"
« on: April 18, 2010, 02:13:35 PM »
It's possible to save the Variables?

As example when I do "cvar_set cname" and save there a Word etc.

After a restart its empty.

- ic3y

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: Variables Save "cvar_set"
« Reply #1 on: April 18, 2010, 02:45:23 PM »
Client side, you can use "alias" instead of "cvar_set". Server side, idk if something exist.

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Variables Save "cvar_set"
« Reply #2 on: April 18, 2010, 02:47:10 PM »
Seta does this I think, but I don't think there is a cvar_seta :/

ic3y

  • Committee Member
  • Autococker
  • Posts: 1398
Re: Variables Save "cvar_set"
« Reply #3 on: April 18, 2010, 10:54:10 PM »
Client side, you can use "alias" instead of "cvar_set". Server side, idk if something exist.
Yep, I know "Alias". I think I try it so. It's anyway on the Client Side.

It's possible to show the Alias Name in a Menu ?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Variables Save "cvar_set"
« Reply #4 on: April 19, 2010, 05:01:33 PM »
Are you trying to set variables on the server?  The server does not save a config file on exit like the client does.  If you want to save variables, you have to put them in a config file.

ic3y

  • Committee Member
  • Autococker
  • Posts: 1398
Re: Variables Save "cvar_set"
« Reply #5 on: April 19, 2010, 10:03:13 PM »
I used seta.

Thanks to all ;D

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: Variables Save "cvar_set"
« Reply #6 on: April 19, 2010, 10:25:08 PM »
seta saves to config.cfg or the config executed by server?