Disconnect/Connect Messages.

Hi, i’ve just reset my server and i’ve lost alot of my own code and i’m looking for a code that shows in chat when somebody leaves and joins.
“(Name) entered the server, their SteamID is: (SteamId)”

hook.Add("PlayerConnect", "googleit", function(ply) 
     print( "Excuse me, " .. ply:Nick() .. " but you can't use google " .. ply:SteamID())
hook.Add("PlayerDisconnected", "tooslow", function(ply) 
     print( "Sorry but," .. ply:Nick() .. " has left because you are lazy " .. ply:SteamID()

Doesn’t hurt to use google. Just edit my comments out and you’re good to go.