Thread: nvault problems
View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 10-17-2015 , 18:05   Re: nvault problems
Reply With Quote #8

Quote:
Originally Posted by ironskillz1 View Post
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.
Are you reading player authid into g_szAuthID[id] at client_authorized()?
__________________
Bugsy is offline