Raised This Month: $49 Target: $400
 12% 

Solved OnClientDisconnect_Post - OnClientDisconnect


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Qes
AlliedModders Donor
Join Date: Jul 2014
Old 05-14-2019 , 05:05   OnClientDisconnect_Post - OnClientDisconnect
Reply With Quote #1

Hello
What is a difference between OnClientDisconnect_Post and OnClientDisconnect?

https://sm.alliedmods.net/new-api/cl...isconnect_Post
https://sm.alliedmods.net/new-api/cl...ientDisconnect

Only "disconnecting" or anything else?

Quote:
Originally Posted by CrazyHackGUT View Post
OnClientDisconnect() - client only initiated disconnecting process.
OnClientDisconnect_Post() - client disconnected fully.
Thank you very much

Last edited by Qes; 05-14-2019 at 05:40.
Qes is offline
CrazyHackGUT
AlliedModders Donor
Join Date: Feb 2016
Location: Izhevsk, Russia
Old 05-14-2019 , 05:21   Re: OnClientDisconnect_Post - OnClientDisconnect
Reply With Quote #2

OnClientDisconnect() - client only initiated disconnecting process.
OnClientDisconnect_Post() - client disconnected fully.
__________________
My english is very bad. I am live in Russia. Learning english language - very hard task for me...

Last edited by CrazyHackGUT; 05-14-2019 at 05:21.
CrazyHackGUT is offline
Send a message via ICQ to CrazyHackGUT Send a message via Skype™ to CrazyHackGUT
Ilusion9
Senior Member
Join Date: Jun 2018
Location: Romania
Old 05-14-2019 , 06:01   Re: OnClientDisconnect_Post - OnClientDisconnect
Reply With Quote #3

OnClientDisconnect - client is in game and is disconnecting: you can do things with the client (get userid, get steamid etc)
OnClientDisconnect_Post - client disconnected, no more in game: you cannot do things with the client (like retrieving his steamid)
__________________

Last edited by Ilusion9; 05-14-2019 at 06:01.
Ilusion9 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:41.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode