Check if user connected
Alright, when a client starts connecting, the function is:
public client_connect(id) But at that point, I'm guessing they aren't truly connected, because I get errors when trying that. I was thinking of setting a task, and then loading the nVault when the task is up, but thats a waste of time. What is client_putinserver(id)? |
Re: Check if user connected
client_connect includes the loading time, client_putinserver is called when a client "reaches" MOTD window.
|
Re: Check if user connected
For nvault you can use forward client_authorized that is sent when player steamid is known.
|
Re: Check if user connected
Quote:
|
Re: Check if user connected
Quote:
|
Re: Check if user connected
Quote:
client_connect() is when you connect to the server (you haven't loaded anything yet). OR better yet you can try it out for yourself. Just write a plugin with all the forwards and print stuff to the server console. |
Re: Check if user connected
Quote:
|
Re: Check if user connected
Quote:
|
Re: Check if user connected
To clarify, client_putinserver is actually called near the end of the loading screen, not when the MOTD appears.
|
Re: Check if user connected
Quote:
|
| All times are GMT -4. The time now is 21:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.