command not working right
I am creating a plugin that sets select client's names during client_authorized or client_putinserver. But, it will not exec the command. I have tried doing it through another function, identical code, and it works. Am I not allowed to change the client's name that early?
Here is my code if it helps any PHP Code:
|
Re: command not working right
Try setting a task in client_putinserver to wait a second (maybe less.. play around with it) which then calls the set name function
|
Re: command not working right
Okay, but know I have another question still related to this. Does client_infochanged get called when a client connects to the server? I had a plugin that was able to change their name successfully when they connected, but I can't seem to find it again to see how it works.
|
Re: command not working right
Yes, it does get called somewhere inbetween putinserver and when they are shown the motd. I havn't logged if it on putinserver or if it inbetween putinserver or when they are shown the motd.
|
| All times are GMT -4. The time now is 06:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.