Garry's Mod

Garry's Mod

SRSscript v.2
Murmu 14 Feb, 2018 @ 4:27pm
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.
Last edited by Murmu; 14 Feb, 2018 @ 9:24pm
< >
Showing 1-15 of 17 comments
stonerboner 24 Mar, 2018 @ 12:51am 
does this really work?
Murmu 24 Mar, 2018 @ 8:53am 
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.
Last edited by Murmu; 24 Mar, 2018 @ 8:56am
Murmu 29 Apr, 2018 @ 3:34pm 
Originally posted by 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 26 May, 2018 @ 2:22pm 
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 18 Jul, 2018 @ 4:02pm 
Originally posted by 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 19 Oct, 2018 @ 6:19pm 
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 20 Oct, 2018 @ 2:39pm 
Originally posted by |= 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!
Last edited by Murmu; 20 Oct, 2018 @ 2:39pm
ty m8
Sledge 16 Jun, 2019 @ 4:34pm 
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 29 Aug, 2019 @ 7:41pm 
it says the process cannot access the file and some other ♥♥♥♥
Anamenti 26 May, 2020 @ 6:57pm 
Here's a Fix someone said, if you press the menu button very quickly it will have the X.
Lol, it's really worked, just press button very quickly and the X button will never go away
76561198847868721 24 Jan, 2022 @ 10:35pm 
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 2 Mar, 2022 @ 5:59am 
Originally posted by Avarage Jolteon Enjoyer:
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.
< >
Showing 1-15 of 17 comments
Per page: 1530 50