The sit script ([url]https://steamcommunity.com/sharedfiles/filedetails/?id=108176967[/url]) which i have on my server cannot be removed. I checked to make sure all of it was gone from the autorun folder and I also set the convars "sitting_ent_mode 0" which also makes sure the script does not allow anyone to sit down on any entity.
None of this has worked and players are still able to sit on the server on any entity. Any reason for this?
in /lua/autorun/server
create this
:NOTE: untested, tell me if you still have the issue but it should work
[code]
hook.Remove("Think","Sitting_AltUse")
[/code]
Original hook from here --> [url]https://github.com/Xerasin/Sit-Anywhere/blob/master/lua/autorun/Ugh.lua[/url]
in a .lua
so create RemoveSitting.lua (could use any name)
put that code above into the lua and you should be good.
[QUOTE=Blinkenn;50076677]in /lua/autorun/server
create this
:NOTE: untested, tell me if you still have the issue but it should work
[code]
hook.Remove("Think","Sitting_AltUse")
[/code]
Original hook from here --> [url]https://github.com/Xerasin/Sit-Anywhere/blob/master/lua/autorun/Ugh.lua[/url]
in a .lua
so create RemoveSitting.lua (could use any name)
put that code above into the lua and you should be good.[/QUOTE]
or, ya know, he could just uninstall the addon correctly...
[QUOTE=Blinkenn;50076677]in /lua/autorun/server
create this
:NOTE: untested, tell me if you still have the issue but it should work
[code]
hook.Remove("Think","Sitting_AltUse")
[/code]
Original hook from here --> [url]https://github.com/Xerasin/Sit-Anywhere/blob/master/lua/autorun/Ugh.lua[/url]
in a .lua
so create RemoveSitting.lua (could use any name)
put that code above into the lua and you should be good.[/QUOTE]
Tried it, Sadly it does not work and players are still able to sit down.
Solved it as it was a workshop gma file in the addons folder. Thanks for trying though.
Sorry, you need to Log In to post a reply to this thread.