About This File
This script allows developers to run and test their code while in game using their favorite code editor.
Dynamically updates variables created, (client-side) and destroys mp objects (event, vehicle, etc), this is to avoid overwriting the variable when saving the file again. For example, creating a vehicle with a variable, then saving the file again wont create 2 cars.
- Now it detects server-side code changes too and executes it.
Also this is meant to be used in development environment only.
How to use:
- While in game, use the command /hot (only to allow clientside code execution).
- Simply write new code or edit existing code then save the changes, hot loader will see the changes and execute it to players who wrote the command /hot.
- For server coding, write your code inside any folder inside "packages" and simply save it.
What's New in Version 1.0.3 See changelog
Removed auto mp entity variable destroy to prevent issues, you have to keep track of your defined entity variables and destroy them yourself.