small format changes
This commit is contained in:
parent
f02c73f94c
commit
13e654aafe
|
@ -346,7 +346,7 @@ public plugin_cfg()
|
||||||
new len = format(configFile, 63, "%s/maps/%s.cfg", configFile, curMap)
|
new len = format(configFile, 63, "%s/maps/%s.cfg", configFile, curMap)
|
||||||
|
|
||||||
if (file_exists(configFile))
|
if (file_exists(configFile))
|
||||||
set_task(6.1, "delayed_load", 0, configFile, len+1)
|
set_task(6.1, "delayed_load", 0, configFile, len + 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
public delayed_load(configFile[])
|
public delayed_load(configFile[])
|
||||||
|
|
|
@ -215,8 +215,8 @@ displayCfgMenu(id, pos)
|
||||||
|
|
||||||
for (new a = start; a < end; ++a)
|
for (new a = start; a < end; ++a)
|
||||||
{
|
{
|
||||||
keys |= (1<<k)
|
keys |= (1<<k)
|
||||||
len += format(menu_body[len], 511-len, "%d. %s\y\R%L^n\w", ++k, g_menuData[a], id, get_xvar_num(g_menuDataId[a]) ? "ON" : "OFF")
|
len += format(menu_body[len], 511-len, "%d. %s\y\R%L^n\w", ++k, g_menuData[a], id, get_xvar_num(g_menuDataId[a]) ? "ON" : "OFF")
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_menuDataNum == 0)
|
if (g_menuDataNum == 0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user