Open Dreken123 opened 11 years ago
hook.Add("PlayerDisconnected", "SimpleLogDisconnect", function(ply) PrintMessage(HUD_PRINTTALK, "Player "..ply:Name().." disconnected from server.") end)
Save this to garrysmod/lua/autorun/server/logdisconnect.lua
The mod will tell you when people join, aka
"dreken joined 15 minutes ago"
But, it doesn't tell you when people disconnect.