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.
最近の変更はMurmuが行いました; 2018年2月14日 21時24分
< >
1-15 / 17 のコメントを表示
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日 15時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.
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日 16時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.
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日 14時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日 14時39分
Sledge 2019年6月16日 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
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.
< >
1-15 / 17 のコメントを表示
ページ毎: 1530 50