float QuickMenu_Buffer_Index_Prev;
void HUD_QuickMenu_Open(string target_submenu, float new_page)
{
- float total, i;
string s, z_submenu;
if (new_page == 0)
// print(sprintf("^1 skipping %s\n", s));
}
}
+ float total = 0;
for( ; QuickMenu_Buffer_Index < QuickMenu_Buffer_Size; ++QuickMenu_Buffer_Index)
{
s = bufstr_get(QuickMenu_Buffer, QuickMenu_Buffer_Index);
}
float HUD_QuickMenu_InputEvent(float bInputType, float nPrimary, float nSecondary)
{
- string s;
-
// we only care for keyboard events
if(bInputType != 0 && bInputType != 1)
return false;
con_keys = findkeysforcommand("toggleconsole", 0);
keys = tokenize(con_keys); // findkeysforcommand returns data for this
- float hit_con_bind, i;
+ float hit_con_bind = 0, i;
for (i = 0; i < keys; ++i)
{
if(nPrimary == stof(argv(i)))