View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-14-2020 , 16:26   Re: Disconnect Reason
Reply With Quote #97

@LithuanianJack - you can probably still use the first code in 1.8.3. The 1.9 version is just a newer build of 1.8.3, so you should update it either way.

The second code is missing the forward declaration.

Code:
enum ReasonCodes {     DR_TIMEDOUT,     DR_DROPPED,     DR_KICKED,     DR_LEVELCHANGE,     DR_OTHER } forward client_disconnect_reason( id , ReasonCodes:drReason , const szReason[] )
__________________

Last edited by OciXCrom; 01-14-2020 at 16:28.
OciXCrom is offline
Send a message via Skype™ to OciXCrom