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 2.0   See changelog

Released

Added again (but improved) the auto mp entities + events destroyer for fast testing without worrying of duplicating the same event listener or entity

  • Like 12
  • Confused 1

User Feedback

Recommended Comments

MyNameIsJeff

Posted (edited)

Good stuff

Edited by MyNameIsJeff
mushidokugo

Posted (edited)

Noice

Edited by mushidokugo
randzhamiya

Posted

does this work in 1.1?

Mos

Posted

11 minutes ago, randzhamiya said:

does this work in 1.1?

yes

viliern

Posted

Nice

Nice

Create an account or sign in to comment

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

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
×
×
  • Create New...