Raised This Month: $ Target: $400
 0% 

Remember more values with nVault?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
supertrio17
Senior Member
Join Date: May 2020
Location: Serbia
Old 06-16-2020 , 19:25   Remember more values with nVault?
Reply With Quote #1

Hey, so I want to have nVault remember 2 values. Now it just remembers 1 of them:
PHP Code:
    new szClass[20];
    new 
szKey[40];

    
formatex(szKeycharsmaxszKey ), "%sCLASS"g_szAuthID[id]);
    
formatex(szClasscharsmaxszClass ), "%d"g_Class[id]); // Wizard

    
nvault_set(g_VaultszKeyszClass); 
And this is how I retrieve it:
PHP Code:
        new szKey[40];
        
formatex(szKeycharsmaxszKey ), "%sCLASS"g_szAuthID[id3]);
        new 
iClass nvault_get(g_VaultszKey ); 
But how do I remember 2 values, for example his class (like shown) and his level?
I was thinking something like this
PHP Code:
    new szClass[20];
    new 
szLevel[20];
    new 
szKey[40];

    
formatex(szKeycharsmaxszKey ), "%sCLASS"g_szAuthID[id]);
    
formatex(szClasscharsmaxszClass ), "%d"g_Class[id]); // Wizard
    
formatex(szLevelcharsmaxszLevel ), "%d"g_Level[id]);

    
nvault_set(g_VaultszKeyszClassszLevel); 
If that is possible, but then how do I retrieve it?
__________________
Contact! || Discord:
Mr_Boopsy_#2066

Last edited by supertrio17; 06-16-2020 at 19:26.
supertrio17 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 16:58.


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