Ensure that you are taken care of. If you have children for example. The deal should not leave your family uninsured and struggling. Above all do not invest so much of your own money that you will leave yourself vulnerable. Investing everything is not sound business practice and anyone who you may raise from should be concerned if you are a wildcard like that because it shows a lack of reality. All-In should be reasonable but not both arms and legs.
If the company cannot pay you even a paltry salary then it is too underfunded and you should adjust your plan to get enough capital to be successful even during development. Lean but enough.
Bring others into the fold that bring more confidence to the investors. Then ask for more capital. Do not risk being underfunded or short on talent. A Well funded Startup should pay its people adequately.