If I only had 24 hours to live, I would be with my loved one(s).
If I only had 24 hours left in this world, I would want to be with the people I love.
教えてくれた人は多分 once ではなく one または ones と言ったのだと思います。
ーIf I only had 24 hours to live, I would be with my loved one(s).
または次のようにも言えます。
ーIf I only had 24 hours left in this world, I would want to be with the people I love.
「この世での時間があと24時間しか残っていないなら、大好きな人たちと一緒にいたいだろう」
ご参考まで!
If I only had 24 hours to live I would be with my loved ones.
If given only 24 hours to live, I would choose to spend them with loved ones.
ご質問ありがとうございます。
この場合、「once」ではなく、「ones」の方が正しいはずです。
そうすると、「If I only had 24 hours to live I would be with my loved ones.」になります。
また、別の言い方を知りたいなら「If given only 24 hours to live, I would choose to spend them with loved ones.」でも可能です。
ご参考になれば幸いです。