1.Check ur contract.
2.latest salary will be considered.
3.You will full salary including allowance,if u have resigned then only the basic salary.