Hello bieberkieu,
there are a few ways to hot reload/restart a script:
-
TxAdmin: When you want a graphical interface use the TxAdmin Resources Tab. There you see all resources with a Stop and Restart button.
-
CLI: Through commands: Use Syntax
(/) start | stop | restart RESOURCENAME
. Sometimes depending on where you try to execute you need a/
before -
Plugins in your IDE: When you use VSCode to develop you can use the plugin named
FiveM Devbridge
. Works over RCON and restart automatically the resource after you save the file in your VSCode. This plugin is a part of my FiveM Extension Pack: Click here