Disconnect
boolean HolyLib.Disconnect( Player ply, string reason, boolean silent = false, boolean nogameevent = false )
Description
Disconnects the given player from the server.
Unlike Gmod's version which internally calls the kickid
command,
we directly call the Disconnect
function with no delay.
Arguments
3boolean silent = false
if
true
it will silently close the net channel and sends no disconnect to the client