pavel_a, 164 строчка
// парсер значений для скилла
do {
ePos = strfind(levelString[stPos], " ")
formatex(rawPoint, ePos, levelString[stPos])
g_skill_opt[cnt] = str_to_float(rawPoint)
stPos += ePos + 1
cnt++
// narkoman wole suka
if(cnt > charsmax(g_skill_letters))
break
} while (ePos != -1)
bonusEnabledPointer = get_cvar_pointer("aes_bonus_enable")
hudUpdateInterval = get_pcvar_float(cvar[CVAR_HUD_UPDATE])
hudInfoOn = get_pcvar_num(cvar[CVAR_HUD_INFO_DEFAULT]) > 0 ? true : false
hudDeadOn = get_pcvar_num(cvar[CVAR_HUD_INFO_TYPE_D]) > 0 ? true : false
hudaNewOn = get_pcvar_num(cvar[CVAR_HUD_ANEW_TYPE]) > 0 ? true : false
chatLvlUpStyle = get_pcvar_num(cvar[CVAR_CHAT_NEW_LEVEL])
isTplMode = get_pcvar_num(cvar[CVAR_TPL_MODE]) > 0 ? true : false
if(!bonusEnabledPointer)
hudaNewOn = false
do {
ePos = strfind(levelString[stPos], " ")
formatex(rawPoint, ePos, levelString[stPos])
g_skill_opt[cnt] = str_to_float(rawPoint)
stPos += ePos + 1
cnt++
// narkoman wole suka
if(cnt > charsmax(g_skill_letters))
break
} while (ePos != -1)
bonusEnabledPointer = get_cvar_pointer("aes_bonus_enable")
hudUpdateInterval = get_pcvar_float(cvar[CVAR_HUD_UPDATE])
hudInfoOn = get_pcvar_num(cvar[CVAR_HUD_INFO_DEFAULT]) > 0 ? true : false
hudDeadOn = get_pcvar_num(cvar[CVAR_HUD_INFO_TYPE_D]) > 0 ? true : false
hudaNewOn = get_pcvar_num(cvar[CVAR_HUD_ANEW_TYPE]) > 0 ? true : false
chatLvlUpStyle = get_pcvar_num(cvar[CVAR_CHAT_NEW_LEVEL])
isTplMode = get_pcvar_num(cvar[CVAR_TPL_MODE]) > 0 ? true : false
if(!bonusEnabledPointer)
hudaNewOn = false