How do I override the default “Player xyz has joined the game” message? This is the code I have currently;
function connect(name, ip) PrintMessage(3, name .. " has connected to the server.") return true end hook.Add("PlayerConnect", "PlayerConnect_", connect)
However, it just prints my hook’s message alongside the default one, instead of overriding it.