Jump to content

Server ready - console log write


Recommended Posts

7 hours ago, Killer0561 said:

I have tried this, but no console message was displayed (server side, script):

mp.events.add('packagesLoaded', () =>
  console.log('Loaded all resources successfully');

any idea?

greetings, Killer0561 (Sascha)

That's because packagesLoaded event isn't in the current version of RAGE:MP, it's in the next update.

  • Like 1
Link to comment
Share on other sites

Ah ok, thanks for the quick reply. When is the next update coming? Because I need one line for the AMP program, which confirms that the server has been fully loaded.

Source: https://github.com/CubeCoders/AMP/wiki/Configuring-the-'Generic'-AMP-module

AppReadyRegex A regex that if matched, will change the server state from 'Starting' to 'Running'

greetings, Killer0561 (Sascha)

Edited by Killer0561
Link to comment
Share on other sites

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...