client_disconnected
- Синтаксис
-
forward client_disconnected(id, bool:drop, message[], maxlen);
Переменная | Описание |
---|---|
id |
Client index |
drop |
If true, client has been explicitly dropped by game |
message |
If drop is true, a disconnected message or buffer to copy a new message to |
maxlen |
Maximum size of buffer |
- Описание
- Called when a client is disconnected from the server.
- Пометка
-
This will be called in some additional cases that client_disconnect doesn't cover, most notably when a client aborts the connection process. It is guaranteed to pair with the client_connect() forward.
- Пометка
-
By this point it is already too late to do anything that directly affects the client.
- Возвращает
- Форвард игнорирует возвращаемое значение.