Garry's Mod

Garry's Mod

SRSscript v.2
Murmu 2018 年 2 月 14 日 下午 4:27
How to fix the "no close button" or "can't close" error.
I found a way to fix this error, to do so follow this steps.
  1. Open Gmod root folder and go to garrysmod/addons.
  2. Find the .gma file named srsscript_v.2...etc.gma.
  3. Open it with an advanced text editor like Notepad++.
  4. Go to line number 1755 or search for *function SRSscript_OPENMENU()* (Without asterisks).
  5. 11 lines below in 1766 theres this line *SRSscript_menu:ShowCloseButton( false )*.
  6. Replace the FALSE with TRUE.
  7. Problem gone (At least for me it worked).
If you don't understand the instruccions add me and send me a message.
最後修改者:Murmu; 2018 年 2 月 14 日 下午 9:24
< >
目前顯示第 1-15 則留言,共 17
stonerboner 2018 年 3 月 24 日 上午 12:51 
does this really work?
Murmu 2018 年 3 月 24 日 上午 8:53 
Yes. It's just a small error in the code. That tells the script NOT to show the X BUTTON when you open it, just replace the FALSE with a TRUE and it will be fixed.
最後修改者:Murmu; 2018 年 3 月 24 日 上午 8:56
Murmu 2018 年 4 月 29 日 下午 3:34 
引用自 The Void - 黙れ!
Couldn't include file 'srsscriptsv2.lua' (File not found) (<nowhere>)

Any solutions for this error?

I have no idea. Try downloading the addon with steamworkshopdownloader.io and putting it directly on to the addons folder.
Baeddan 2018 年 5 月 26 日 下午 2:22 
i tried that and it disabled the mod, then i fixed it again and after i opened it 2 times after the X was gone again
so, mine already says " true " but it still doesnt show an X button, is this normal?
Murmu 2018 年 7 月 18 日 下午 4:02 
引用自 ajhubbard1
so, mine already says " true " but it still doesnt show an X button, is this normal?
I dont know what to say, it worked for me.
Dave Australia 2018 年 10 月 19 日 下午 6:19 
i know how to fix it and it dosnt use any codeing

basicaly all you have to do is not hold the open button at all (just tap it really quick) and the X button will NEVER go away :) if you hold the button the X goes away every time.:steamhappy:
Murmu 2018 年 10 月 20 日 下午 2:39 
引用自 |= v < |<__|-| Ṩ
i know how to fix it and it dosnt use any codeing

basicaly all you have to do is not hold the open button at all (just tap it really quick) and the X button will NEVER go away :) if you hold the button the X goes away every time.:steamhappy:
Nice!
最後修改者:Murmu; 2018 年 10 月 20 日 下午 2:39
Gigantus Nigeerius 2019 年 2 月 28 日 下午 4:53 
ty m8
Sledge 2019 年 6 月 16 日 下午 4:34 
Okay it worked for about a week then it stopped showing the X this is the line of code


local title =
{
'SRSCheat loaded!',
'SRSCheat loaded!',
'SRSCheat loaded!',
'SRSCheat loaded!',
'SRSCheat loaded!'
}

local function SRSscript_OPENMENU() end
local function SRSscript_CLOSEMENU()
if SRSscript_menu and not SRSscript_menu.Block and ( SRSscript_menu.Hold or 0 ) < 15 then
SRSscript_menu.Block = true
SRSscript_menu:ShowCloseButton( true )
end

if not SRS_menu or SRSscript_menu.Block then return end

SRSscript_menu:Close()
SRSscript_menu = nil
end
Scarface11 2019 年 8 月 29 日 下午 7:41 
it says the process cannot access the file and some other ♥♥♥♥
Anamenti 2020 年 5 月 26 日 下午 6:57 
Here's a Fix someone said, if you press the menu button very quickly it will have the X.
ой ♥♥♥ ёпта 2020 年 7 月 27 日 上午 11:41 
Lol, it's really worked, just press button very quickly and the X button will never go away
76561198847868721 2022 年 1 月 24 日 下午 10:35 
Hola papu, mira, tengo un problemita con esta cagada y pasa que nisiquiera cambiando su codigo puedo hacer que el boton para cerrar la pestaña aparezca, podrias ayudarme porfavor?, te lo agradeceria mucho
Murmu 2022 年 3 月 2 日 上午 5:59 
Hola papu, mira, tengo un problemita con esta cagada y pasa que nisiquiera cambiando su codigo puedo hacer que el boton para cerrar la pestaña aparezca, podrias ayudarme porfavor?, te lo agradeceria mucho
Mira supuestamente hay otro arreglo dando vueltas, que tenia que ver con no mantener el boton para abrir el menu apretado mucho tiempo, pero nunca supe que onda.
< >
目前顯示第 1-15 則留言,共 17
每頁顯示: 1530 50