forward client_disconnected(id, bool:drop, message[], maxlen);
id | Client index |
drop | If true, the game has explicitly dropped the client |
message | If drop is true, a writable buffer containing the disconnect info message |
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.
When this fires the player entity is still valid (e.g. is_user_connected(id) will return true), but no networked commands will reach the client.
This forward ignores the returned value.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.