Jump to content

7 Screenshots

About This File

This tool 10x RageMP game development speed by allowing developers to run and test their code live without constant server restarts, just edit the file and save to see the result right away.
Preview: https://streamable.com/3fz1ck

Features:

  • Run code on multiple clients at once.
  • Auto cleanup of entities created.
  • Event handlers cleanup (you can run your code multiple times event will be only registered once with the latest changes).
  • Run server side code and client side with error handling (errors show up on screen for client-side).

How to use:

  1. Drag all the folders into your server root.

  2. Require hotreload.js in your client_packages/index.js

    require('./hotreload.js')
  3. Use directories client | server to add your code or use the existing files provided.

  4. For client, use the variable executeFor: number[] to add your ID or any other client ID you want to execute your code on. (check the provided example hotreload/client/clientTest.js

Github repo and more details: ItsMos/ragemp-hot-reload

 

V2 Changelog:

  • Support events mp.events.add
  • Removed unreliable detection of variables using lexical analyzer.
  • Now using wrapper functions instead.

Edited by Mos
V2


What's New in Version 1.0.3   See changelog

Released

Removed auto mp entity variable destroy to prevent issues, you have to keep track of your defined entity variables and destroy them yourself.

  • Like 12
  • Confused 1

User Feedback

Create an account or sign in to leave a review

You need to be a member in order to leave a review

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

n0minal

   3 of 3 members found this review helpful 3 / 3 members

I use it on my server and it's so fucking awesome, god dayum!

  • Like 1
Schreibfxhler

   2 of 2 members found this review helpful 2 / 2 members

Perfect!

Guest rfgsdfd

   1 of 5 members found this review helpful 1 / 5 members

hellou

mZR0

   0 of 1 member found this review helpful 0 / 1 member

Nice men!

Mentanding

  

holy moly, thats nice! 👌

ynhhoJ

  

Nice!

×
×
  • Create New...