Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: axeboy1778 on July 19, 2014, 12:55:53 AM
-
How can I remove the (Axeboy1778 has disconnected. (STEAM_0:1:00000000)) disconnect message? I have something else that solves this, so having both looks fairly odd and unnecessary.
-
Hello,
take a look at this hook: GM/PlayerDisconnected (http://wiki.garrysmod.com/page/GM/PlayerDisconnected)
Avoid
-
I know, but isn't it something in ulx/ulib making that message? I have a message like that already and I want to get rid of the ulx/ulib default one, but I don't know how/where to find it.
-
I know, but isn't it something in ulx/ulib making that message? I have a message like that already and I want to get rid of the ulx/ulib default one, but I don't know how/where to find it.
No? I'm quite certain it's a Garry's Mod thing.
-
Does anyone know where I can find that message?
-
We don't generate this message inside of ULX.
I took a look at the base gamemode PlayerDisconnected hook and it doesn't seem to explicitly call that message, but I think if you override the function it will not print it.
Inside of your init.lua file for your gamemode just place this:
function GM:PlayerDisconnected( player )
end
-
That worked perfectly. Thanks MrPresident :)