add initVars RPC for connected Player to init vars from other existed characters,simplify functions by putting vars into array