View Single Post
makiza
BANNED
Join Date: Mar 2009
Old 05-22-2011 , 19:26   Re: nvault saving and loading string
Reply With Quote #2

Quote:
Originally Posted by bartek93tbg View Post
Hi. I have problem, how add to this 3rd variable (string)?
PHP Code:
[...]
new 
topexp;
new 
topexpname[35];
//new topexplvl[35]; //I want add this
[...]

public 
top_stats_save()
{
    new 
vaultkey[64],vaultdata[256]; vaultxp[64//add

        
format(vaultkey,63,"zp_topexp");
        
format(vaultdata,255,"%i#%s#"/*i dunno what goes there, %s?*/,topexp,topexpname,topexplvl);//add
        
nvault_set(zp_top,vaultkey,vaultdata,vaultxp);//add

Add the same thing.
makiza is offline