Test Scripts without access to FiveM

So I’m out most days and have limited time to be @ home in FiveM testing various things. meaning I don’t have access to play FiveM and/or put things on my server

I know this question is probally a no, but is there a way to test a scripts code (lua) in say a program to see if it would run properly in FiveM?

Any feedback would be great. Would a lua test program work?

create another server and have someone do it for you that you trust

true just was wondering if theres some program that tests lua to make sure you have not forgot a bracket or end etc.

i dont think there is

Some code formatters (beautifiers) have error checking built in.

1 Like

Oh true, I shop around, Thanks Envy

In cfx-server-data there is a resource called runcode. You can use this to run LUA code.

2 Likes

Keep your home computer running and remote desktop into it and test it remotely. You could consider using Chrome Remote Desktop or TeamViewer for ease.

This can be done with a mobile device also