From eb36757ef192657cd9e451f9508183dbc2afc8c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Tue, 5 Oct 2004 10:01:04 +0000 Subject: [PATCH] Fixed menu not displaying on/off status for scout, mp5, ak47. --- plugins/cstrike/restmenu.sma | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/plugins/cstrike/restmenu.sma b/plugins/cstrike/restmenu.sma index 88402221..3962e400 100755 --- a/plugins/cstrike/restmenu.sma +++ b/plugins/cstrike/restmenu.sma @@ -159,20 +159,20 @@ new g_MenuItem[MAXMENUPOS][] = { "\yShotguns^n\w^n%d. %s\y\R%L^n\w", "%d. %s\y\R%L^n\w^n", - "\ySub-Machine Guns^n\w^n%d. %s\y\R%s^n\w", + "\ySub-Machine Guns^n\w^n%d. %s\y\R%L^n\w", "%d. %s\y\R%L^n\w", "%d. %s\y\R%L^n\w", "%d. %s\y\R%L^n\w", "%d. %s\y\R%L^n\w^n", - "\yAssault Rifles^n\w^n%d. %s\y\R%s^n\w", + "\yAssault Rifles^n\w^n%d. %s\y\R%L^n\w", "%d. %s\y\R%L^n\w", "%d. %s\y\R%L^n\w", "%d. %s\y\R%L^n\w", "%d. %s\y\R%L^n\w", "%d. %s\y\R%L^n\w^n", - "\ySniper Rifles^n\w^n%d. %s\y\R%s^n\w", + "\ySniper Rifles^n\w^n%d. %s\y\R%L^n\w", "%d. %s\y\R%L^n\w", "%d. %s\y\R%L^n\w", "%d. %s\y\R%L^n\w^n", @@ -438,13 +438,16 @@ displayMenu(id,pos) { if (pos < 0) return new menubody[512], start = pos * 7 if (start >= MAXMENUPOS) start = pos = g_Position[id] = 0 - new len = format(menubody,511,"\y%L\R%d/5^n\w^n",id,"REST_WEAP",pos+1) + new len = format(menubody,511,"\y%L\R%d/5^n^n\w",id,"REST_WEAP",pos+1) new end = start + 7, keys = MENU_KEY_0|MENU_KEY_8, k = 0 if (end > MAXMENUPOS) end = MAXMENUPOS + for (new a = start; a < end; ++a) { keys |= (1<