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

[Solved] nVault


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
abhishek_deshkar
Senior Member
Join Date: Jun 2013
Location: Earth
Old 11-28-2014 , 11:13   [Solved] nVault
Reply With Quote #1

I executed following code successfully. It will store the user's password in nvault and retrieves it whenever required. It stores password successfully but unable to retrieve the password. Pls help.

Last edited by abhishek_deshkar; 11-28-2014 at 11:20. Reason: Solved! Little mistake!!
abhishek_deshkar is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-28-2014 , 11:17   Re: [Help] nVault
Reply With Quote #2

Because you are retriving an Integer but trying to display it as a String.

Code:
public cmdShowPass(id) 
{ 
   

    new szKey[40]; 
    new szPass[255]
    formatex( szKey , charsmax( szKey ) , "%s-PASS" , uname ); 
    nvault_get( g_Vault , szKey , szPass , charsmax(szPass) ); 

    client_print( id , print_chat , "* Your pass = %s", szPass ); 
}
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
abhishek_deshkar
Senior Member
Join Date: Jun 2013
Location: Earth
Old 11-28-2014 , 11:19   Re: [Help] nVault
Reply With Quote #3

Lol. Thanks yami !! little mistake :/
abhishek_deshkar is offline
Reply



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 23:43.


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