Garry's Mod
SRSscript v.2
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.
Editat ultima dată de Murmu; 14 febr. 2018 la 21:24
< >
Se afișează 1-15 din 17 comentarii
does this really work?
Murmu 24 mart. 2018 la 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.
Editat ultima dată de Murmu; 24 mart. 2018 la 8:56
Murmu 29 apr. 2018 la 15:34 
Postat inițial de 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 mai 2018 la 14: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 18 iul. 2018 la 16:02 
Postat inițial de 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.
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 la 14:39 
Postat inițial de |= 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!
Editat ultima dată de Murmu; 20 oct. 2018 la 14:39
Sledge 16 iun. 2019 la 16: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
it says the process cannot access the file and some other ♥♥♥♥
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
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 mart. 2022 la 5:59 
Postat inițial de 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.
< >
Se afișează 1-15 din 17 comentarii
Per pagină: 1530 50