Killer0561 Posted February 10, 2020 Posted February 10, 2020 (edited) Hello guys, I am looking for a possibility, if the Rage MP server has been completely started up, that I then get a message in the console such as: *Server ready.* Is that possible? greetings, Killer0561 (Sascha) Edited February 11, 2020 by Killer0561
ynhhoJ Posted February 11, 2020 Posted February 11, 2020 You can do it by yoursell, with console.log's. 1
Killer0561 Posted February 15, 2020 Author Posted February 15, 2020 (edited) 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) Edited February 15, 2020 by Killer0561
MrPancakers Posted February 15, 2020 Posted February 15, 2020 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. 1
Killer0561 Posted February 15, 2020 Author Posted February 15, 2020 (edited) 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 February 15, 2020 by Killer0561
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now