AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Solved OnClientDisconnect_Post - OnClientDisconnect (https://forums.alliedmods.net/showthread.php?t=316245)

Qes 05-14-2019 05:05

OnClientDisconnect_Post - OnClientDisconnect
 
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 (Post 2651577)
OnClientDisconnect() - client only initiated disconnecting process.
OnClientDisconnect_Post() - client disconnected fully.

Thank you very much

CrazyHackGUT 05-14-2019 05:21

Re: OnClientDisconnect_Post - OnClientDisconnect
 
OnClientDisconnect() - client only initiated disconnecting process.
OnClientDisconnect_Post() - client disconnected fully.

Ilusion9 05-14-2019 06:01

Re: OnClientDisconnect_Post - OnClientDisconnect
 
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)


All times are GMT -4. The time now is 22:19.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.