Quote:
Originally Posted by Napoleon_be
Add measure units such as Farenheit or Celsius. 15° farenheit is pretty cold, as 15° Celcius is a whole lot warmer.
|
Have you looked at the script? Both already exist.
Code:
92 g_cvar_units = register_cvar("sv_units", "imperial");
254 get_pcvar_string(g_cvar_units, buf, charsmax(buf));
255 if (containi(buf, "imperial") > -1 )
256 {
257 iRED_TEMP = 70;
258 iBLU_TEMP = 45;
259 iGRN_HI = 69;
260 iGRN_LO = 46;
261 }
262 else if (containi(buf, "metric") > -1 )
263 {
264 iRED_TEMP = 15;
265 iBLU_TEMP = -15;
266 iGRN_HI = 14;
267 iGRN_LO = -14;
268 }
__________________