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

Set _pw to user if it doesn't exist


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 11:31.


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