Raised This Month: $12 Target: $400
 3% 

Set _pw to user if it doesn't exist


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
Desert002
Junior Member
Join Date: Aug 2016
Location: Macedonia
Old 08-09-2016 , 17:44   Set _pw to user if it doesn't exist
#1

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

Last edited by Desert002; 08-09-2016 at 18:19.
Desert002 is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-16-2016 , 12:43   Re: Set _pw to user if it doesn't exist
#2

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.
__________________
edon1337 is offline
Desert002
Junior Member
Join Date: Aug 2016
Location: Macedonia
Old 08-25-2016 , 07:57   Re: Set _pw to user if it doesn't exist
#3

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 is offline
Desert002
Junior Member
Join Date: Aug 2016
Location: Macedonia
Old 09-08-2016 , 17:38   Re: Set _pw to user if it doesn't exist
#4

BUMP
Desert002 is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 09-08-2016 , 18:23   Re: Set _pw to user if it doesn't exist
#5

I'm sorry but this is not related to AMX Super.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
Desert002
Junior Member
Join Date: Aug 2016
Location: Macedonia
Old 09-13-2016 , 13:54   Re: Set _pw to user if it doesn't exist
#6

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

Last edited by Desert002; 09-13-2016 at 14:04.
Desert002 is offline
Desert002
Junior Member
Join Date: Aug 2016
Location: Macedonia
Old 10-19-2016 , 16:05   Re: Set _pw to user if it doesn't exist
#7

Solved! close thread
Desert002 is offline
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode