Difference between revisions of "DP REGISTERCVAR"

From Quake Wiki

(New page: Builtin definitions: <pre> float(string name, string value) registercvar = #93; </pre> Adds a new console cvar to the server console (in singleplayer this is the player's console), the cv...)
 
 
Line 7: Line 7:
  
 
NOTE: [[DP_CON_SET]] is much better.
 
NOTE: [[DP_CON_SET]] is much better.
 +
 +
[[Category:DarkPlaces]]

Latest revision as of 01:09, 25 March 2013

Builtin definitions:

float(string name, string value) registercvar = #93;

Adds a new console cvar to the server console (in singleplayer this is the player's console), the cvar exists until the mod is unloaded or the game quits.

NOTE: DP_CON_SET is much better.