Quote:
Originally Posted by Bugsy
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.
__________________