Skip to content

Click debug on VS and this utility restarts the resource for you.

Notifications You must be signed in to change notification settings

MrFreex/red_betterCS

Repository files navigation

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

About

Click debug on VS and this utility restarts the resource for you.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published