You never save the players current money so there's no way for a vault entry to ever exist for a player. I would hook the Money event to keep g_iMoney[] updated with the users current money at all times.
PHP Code:
register_event( "Money" , "fw_EvMoney" , "be" );
public fw_EvMoney( id )
{
g_iMoney[ id ] = read_data( 1 );
}
Also, you sometimes may run into issues when you try to set things on players @ putinserver. You may need to set_task the money restore with an interval of 0.1 to 0.4. Try it first though as-is because it may work, I've never tried to set a users money at putinserver.
__________________