How can I run FiveM via sandboxie?

Have you tried using the -cl2 flag?