Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 970 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 970 Bytes

Red_BetterCSharp

If you ever tried to script with C# in FiveM you know how tedious it can be to

Build --> Move --> Adapt --> Refresh --> Restart

This resource automates the refresh/restart part and provides an example to automate the move and adapt part. To make it work in visual studio you just need to edit your active debug configuration and add an executable file, bind it to a .bat like the one provied and let xcopy and curl do all of the work.

Image1 Image2

Better CS How-To

  • Download/clone the repository
  • Update your server.cfg to include the exec_me.cfg file instructions
  • Customise the example .bat file provided according to your folders
  • Setup the Visual Studio ( or your preferred IDE ) debug option to build and then execute the .bat file