Raised This Month: $ Target: $400
 0% 

nvault problems


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 10-17-2015 , 17:37   Re: nvault problems
Reply With Quote #7

Quote:
Originally Posted by Bugsy View Post
I found one minor mistake in my above code which resulted in only the first letter of each players name to be saved in the vault. I edited the above code to fix this.
With the new loading code it wont load at all. The saving are working great tho.

It wont load anything.

Code:
public LoadData( id )
{
	new szBuffer[ 66 ] , iTS;
	
	if ( nvault_lookup( g_Vault , g_szAuthID[id] , szBuffer , charsmax( szBuffer ) , iTS ) )
	{
		parse( szBuffer , g_iMarriedSteamID[ id ] , charsmax( g_iMarriedSteamID[] ) , g_iMarriedName[ id ] , charsmax( g_iMarriedName[] ) );

		server_print("LOAD steamid: %s. Marriedsteamid: %s marriedname: %s", g_szAuthID[id], g_iMarriedSteamID[id], g_iMarriedName[id])
	}

}
The server print is blank at marriedsteamid and steamname.
So i guess something is wrong.
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
 



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 18:10.


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