Digital Paint Discussion Board

Paintball 2: The Game => Help and Support => Topic started by: ic3y on April 18, 2010, 04:13:35 PM

Title: Variables Save "cvar_set"
Post by: ic3y on April 18, 2010, 04: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
Title: Re: Variables Save "cvar_set"
Post by: T3RR0R15T on April 18, 2010, 04:45:23 PM
Client side, you can use "alias" instead of "cvar_set". Server side, idk if something exist.
Title: Re: Variables Save "cvar_set"
Post by: ViciouZ on April 18, 2010, 04:47:10 PM
Seta does this I think, but I don't think there is a cvar_seta :/
Title: Re: Variables Save "cvar_set"
Post by: ic3y on April 19, 2010, 12:54:10 AM
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 ?
Title: Re: Variables Save "cvar_set"
Post by: jitspoe on April 19, 2010, 07: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.
Title: Re: Variables Save "cvar_set"
Post by: ic3y on April 20, 2010, 12:03:13 AM
I used seta.

Thanks to all ;D
Title: Re: Variables Save "cvar_set"
Post by: XtremeBain on April 20, 2010, 12:25:08 AM
seta saves to config.cfg or the config executed by server?