Forum

Multiplayer variables that pass on server

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Multiplayer variables that pass on server

Postby Mexicouger » Mon Jun 20, 2011 4:06 am

Is there a way to make a float not reset when you restart a server?
Like is there a way I can check to see if the server was restarted?
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Postby behind_you » Mon Jun 20, 2011 7:27 am

why don't you register a cvar to use? of if you aren't using an engine capable of that, use one of quake's extra cvars?

or if you can, FRIK_FILE it.
User avatar
behind_you
 
Posts: 237
Joined: Sat Feb 05, 2011 6:57 am
Location: Tripoli, Libya

Postby Spike » Mon Jun 20, 2011 11:48 am

serverinfo(qw only), cvars(extensions or temp1/quake 1.07 cvars), or frik_file(extensions) are your choices, or there's serverflags(all versions ever made - think runes) if you only need a bit or two.
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest