Garry's Mod

Garry's Mod

SRSscript v.2
Murmu 14. feb. 2018 kl. 16: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.
Sidst redigeret af Murmu; 14. feb. 2018 kl. 21:24
< >
Viser 1-15 af 17 kommentarer
stonerboner 24. mar. 2018 kl. 0:51 
does this really work?
Murmu 24. mar. 2018 kl. 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.
Sidst redigeret af Murmu; 24. mar. 2018 kl. 8:56
Murmu 29. apr. 2018 kl. 15:34 
Oprindeligt skrevet af 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. maj 2018 kl. 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. juli 2018 kl. 16:02 
Oprindeligt skrevet af 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. okt. 2018 kl. 18: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 20. okt. 2018 kl. 14:39 
Oprindeligt skrevet af |= 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!
Sidst redigeret af Murmu; 20. okt. 2018 kl. 14:39
Gigantus Nigeerius 28. feb. 2019 kl. 16:53 
ty m8
Sledge 16. juni 2019 kl. 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
Scarface11 29. aug. 2019 kl. 19:41 
it says the process cannot access the file and some other ♥♥♥♥
Anamenti 26. maj 2020 kl. 18:57 
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 kl. 22: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 2. mar. 2022 kl. 5:59 
Oprindeligt skrevet af 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.
< >
Viser 1-15 af 17 kommentarer
Per side: 1530 50