AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   AMX Super (https://forums.alliedmods.net/forumdisplay.php?f=111)
-   -   Set _pw to user if it doesn't exist (https://forums.alliedmods.net/showthread.php?t=286153)

Desert002 08-09-2016 17:44

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 :)

edon1337 08-16-2016 12:43

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.

Desert002 08-25-2016 07:57

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

Desert002 09-08-2016 17:38

Re: Set _pw to user if it doesn't exist
 
BUMP

DarkGod 09-08-2016 18:23

Re: Set _pw to user if it doesn't exist
 
I'm sorry but this is not related to AMX Super.

Desert002 09-13-2016 13:54

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 :)

Desert002 10-19-2016 16:05

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.