![](images/misc/post_spacer.gif) |
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
|
![Old](images/statusicon/post_old.svg)
10-17-2015
, 18:05
Re: nvault problems
|
#8
|
Quote:
Originally Posted by ironskillz1
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()?
__________________
|
|
|
|