function onPlayerQuit ( ) 
    local playeraccount = getPlayerAccount ( source ) 
    if ( playeraccount ) and not isGuestAccount ( playeraccount ) then 
        local playermoney = getPlayerMoney ( source ) 
        local skin = getElementModel ( source ) 
        setAccountData ( playeraccount, "acc", playermoney ) 
        setAccountData ( playeraccount, "skin", skin ) 
    end 
end 
addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) 
  
function onPlayerLogin ( _, playeraccount ) 
    if ( playeraccount ) then 
        local playermoney = getAccountData ( playeraccount, "acc" ) 
        local skin = getAccountData ( playeraccount, "skin" ) 
        if ( playermoney ) then 
            setPlayerMoney ( source, playermoney ) 
        end 
        if ( skin ) then 
            setElementModel ( source, skin ) 
        else 
            outputChatBox ( "NO SKIN SAVED!", source ) 
        end 
    end 
end 
addEventHandler ( "onPlayerLogin", getRootElement ( ), onPlayerLogin ) 
 
Try that and see what it outputs when you login.