client_infochanged
Hello,
I want to check if a player is admin or not, before and after the nick change. I want to know if he was admin, and then he chosen to change his nick in order to be regular user, or, if he was a regular user, then he changed his nick, in order to became admin. In short terms i need a function to check if the player was or not an admin. To check it after is pretty simple with a set_task. But i want to know if is there a posibility to check older nick admin flags. NOTE: The admin si set by nick. Thank you very much. PS. I looked into admin.sma to verify that method but is too complicated for what i need, only the ADMIN_RESERVATION flag wich is common to all my admins. Thanks |
Re: client_infochanged
Quote:
|
Re: client_infochanged
i use it for storing in a mysql database the time played by an admin.
I have some admins set by nick, some of them by ip, some of them by steamid. If you are not capable delivering an answer, stop posting. |
Re: client_infochanged
You probably need to modify the existing authentication plugin. You could then make a function that you call every time that your event happens in the authentication code to do what you need to do.
It's hard to believe that anyone needs anything other than Steam ID authentication. |
Re: client_infochanged
problem solved
client_infochanged is called everytime after the info change |
Re: client_infochanged
Default admin system already checks that.
|
| All times are GMT -4. The time now is 08:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.