javad_iran Posted September 9, 2018 Author Share Posted September 9, 2018 2 minutes ago, MrPancakers said: mp.players.broadcast() will send a message to all users on the server. Use the playerJoin event. please send example code for send message for all? Link to comment Share on other sites More sharing options...
MrPancakers Posted September 9, 2018 Share Posted September 9, 2018 1 hour ago, javad_iran said: please send example code for send message for all? If you need an example, then you are honestly going to struggle to make everything in your server because I said what you need to use and there isn't anything extra to it. mp.events.add('playerJoin', player => { mp.players.broadcast(`${player.name} has joined the server.`); }); A lot of what you're asking is in the wiki: https://wiki.rage.mp/index.php?title=Main_Page If you're still struggling, I highly suggest you go learn Javascript because it seems your skills are lacking if you cannot understand the basics. Link to comment Share on other sites More sharing options...
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