"Player x has joined the game". This is shown when a player connects to the server. I'm looking to remove/replace this. I've attempted overriding both [url=http://wiki.garrysmod.com/page/GM/PlayerInitialSpawn]GM:PlayerInitialSpawn[/url] and [url=http://wiki.garrysmod.com/page/GM/PlayerConnect]GM:PlayerConnect[/url] with no success. I've also tried searching through the[URL="https://github.com/garrynewman/garrysmod"] garry's mod github repository[/URL] and have not found any strings containing "has joined the game".
[IMG]https://i.gyazo.com/e4d94630681fc84d8b881993da8e421a.png[/IMG]
Thanks in advance.
[QUOTE=mijyuoon;51228014][img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/gameevent/Listen]gameevent.Listen[/url][/QUOTE]
Interesting... Never knew about this. This doesn't help though, as I'm looking to replace/remove the message.
[QUOTE=mijyuoon;51228014][img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/gameevent/Listen]gameevent.Listen[/url][/QUOTE]
This doesn't answer how to remove the default one, and honestly I'm getting curious about that too since a few quick searches have not found the source of the default message.
[editline]19th October 2016[/editline]
ninja'd :/
[url]http://wiki.garrysmod.com/page/GM/ChatText[/url]
See the example.
[url=http://wiki.garrysmod.com/page/GM/ChatText]GM:ChatText[/url]
Found it! But, it still prints for me when I join (but not when I add bots). Very strange..
[IMG]https://i.gyazo.com/de101fffd14ff177c2b78519f192cde7.png[/IMG]
[editline]19th October 2016[/editline]
ninja'd :ninja:
[editline]19th October 2016[/editline]
I've decided to stop being lazy and host a dedicated server locally. [url=http://wiki.garrysmod.com/page/GM/ChatText]GM:ChatText[/url] now removes all joinleave messages. Thanks for the help!
Sorry, you need to Log In to post a reply to this thread.