client_connect & client_putinserver
Whats the difference?
|
Re: client_connect & client_putinserver
client_connect: If someone is connecting to the server.
client_putinserver: If someone see the motd of server. He's already joined. |
Re: client_connect & client_putinserver
client_connect is called when the client connects to the server
client_putinserver is called a second or 2 before he sees the MOTD and is fully in client_authorized is called when the client has gotten a SteamID 1 will always be first, but 2 and 3 can be in any order |
Re: client_connect & client_putinserver
I know this topic a quite old, but i wanted to ask, does client_putinserver is called after the player got his flags?
|
Re: client_connect & client_putinserver
Quote:
|
Re: client_connect & client_putinserver
I just looked in the include files and saw this
PHP Code:
|
Re: client_connect & client_putinserver
Quote:
|
Re: client_connect & client_putinserver
Also, client_connect (and possibly client_authorized) isn't called when the client doesn't fully rejoin the server with the 'retry' command.
|
Re: client_connect & client_putinserver
If you're wanting to do something to a client that is steamID specific. Do it at client_authorized. If you're looking to do something to a client that has connected, and you want to make sure has joined. Do it at client_putinserver. This is not necessary, as they can be interchangeable. But it is important to know the difference if you're trying to do something that requires that specification. (like a vault data grab or flags assignment)
|
| All times are GMT -4. The time now is 05:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.