Set _pw to user if it doesn't exist
I'm working on a plugin for managing admins and the plugin gets the users _pw, but when someone doesn't have _pw set, it doesn't set password for that user in users.ini.
So my question is: is it possible after selecting user from a player menu, a messagemode password: appears and you have to enter a password for that player, after u enter it the player saves the password with client_cmd(player, "setinfo _pw %s", password) and that password is saved in the users.ini, i can do that last part with the saving but i don't know how to set _pw field for player, thank you :) |
Re: Set _pw to user if it doesn't exist
It's possible. I don't know how to make it but If you install Mdbbans you can see it's similar to your request. Ask Some Pro Scripters.
|
Re: Set _pw to user if it doesn't exist
Mdbbans gives u random mid, i want to give it thru a messagemode, it opens up asking for a password to set on a user, not to give it random
|
Re: Set _pw to user if it doesn't exist
BUMP
|
Re: Set _pw to user if it doesn't exist
I'm sorry but this is not related to AMX Super.
|
Re: Set _pw to user if it doesn't exist
Sorry i missed the section, i am new so i didn't have much experience with this forum, admins please move this thread to another section, and does anyone know how to do what i asked, thank you :)
|
Re: Set _pw to user if it doesn't exist
Solved! close thread
|
All times are GMT -4. The time now is 14:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.