added crash notice about KickClient()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401352
This commit is contained in:
David Anderson 2007-08-18 13:17:51 +00:00
parent c6c5540457
commit 874e3d6ed2

View File

@ -574,7 +574,11 @@ native Float:GetClientAvgPackets(client, NetFlow:flow);
native GetClientOfUserId(userid); native GetClientOfUserId(userid);
/** /**
* Disconnects a client from the server. * Disconnects a client from the server.
*
* Kicking clients from certain events or callbacks may cause crashes. If in
* doubt, create a short (0.1 second) timer to kick the client in the next
* available frame.
* *
* @param client Client index. * @param client Client index.
* @param format Optional formatting rules for disconnect reason. * @param format Optional formatting rules for disconnect reason.